Class DCBGrpc.DCBStub

java.lang.Object
io.grpc.stub.AbstractStub<DCBGrpc.DCBStub>
io.grpc.stub.AbstractAsyncStub<DCBGrpc.DCBStub>
umadb.v1.DCBGrpc.DCBStub
Enclosing class:
DCBGrpc

public static final class DCBGrpc.DCBStub extends io.grpc.stub.AbstractAsyncStub<DCBGrpc.DCBStub>
A stub to allow clients to do asynchronous rpc calls to service DCB.
Service providing Event Store RPCs supporting DCB.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    append(Umadb.AppendRequest request, io.grpc.stub.StreamObserver<Umadb.AppendResponse> responseObserver)
    Appends new events to the store.
    protected DCBGrpc.DCBStub
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    getTrackingInfo(Umadb.TrackingRequest request, io.grpc.stub.StreamObserver<Umadb.TrackingResponse> responseObserver)
    Gets the last record position for a named source.
    void
    head(Umadb.HeadRequest request, io.grpc.stub.StreamObserver<Umadb.HeadResponse> responseObserver)
    Gets the position of the last recorded event in the store.
    void
    read(Umadb.ReadRequest request, io.grpc.stub.StreamObserver<Umadb.ReadResponse> responseObserver)
    Provides a stream of batches of already-recorded events, up to a captured head position.
    void
    subscribe(Umadb.SubscribeRequest request, io.grpc.stub.StreamObserver<Umadb.SubscribeResponse> responseObserver)
    Provides a stream of batches of already-recorded events, then continues as new events are recorded.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected DCBGrpc.DCBStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DCBGrpc.DCBStub>
    • read

      public void read(Umadb.ReadRequest request, io.grpc.stub.StreamObserver<Umadb.ReadResponse> responseObserver)
      Provides a stream of batches of already-recorded events, up to a captured head position.
      
    • subscribe

      public void subscribe(Umadb.SubscribeRequest request, io.grpc.stub.StreamObserver<Umadb.SubscribeResponse> responseObserver)
      Provides a stream of batches of already-recorded events, then continues as new events are recorded.
      
    • append

      public void append(Umadb.AppendRequest request, io.grpc.stub.StreamObserver<Umadb.AppendResponse> responseObserver)
      Appends new events to the store.
      
    • head

      public void head(Umadb.HeadRequest request, io.grpc.stub.StreamObserver<Umadb.HeadResponse> responseObserver)
      Gets the position of the last recorded event in the store.
      
    • getTrackingInfo

      public void getTrackingInfo(Umadb.TrackingRequest request, io.grpc.stub.StreamObserver<Umadb.TrackingResponse> responseObserver)
      Gets the last record position for a named source.