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
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 TypeMethodDescriptionvoidappend(Umadb.AppendRequest request, io.grpc.stub.StreamObserver<Umadb.AppendResponse> responseObserver) Appends new events to the store.protected DCBGrpc.DCBStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidgetTrackingInfo(Umadb.TrackingRequest request, io.grpc.stub.StreamObserver<Umadb.TrackingResponse> responseObserver) Gets the last record position for a named source.voidhead(Umadb.HeadRequest request, io.grpc.stub.StreamObserver<Umadb.HeadResponse> responseObserver) Gets the position of the last recorded event in the store.voidread(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.voidsubscribe(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, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
- Specified by:
buildin classio.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.
-