Class DCBGrpc.DCBBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<DCBGrpc.DCBBlockingStub>
io.grpc.stub.AbstractBlockingStub<DCBGrpc.DCBBlockingStub>
umadb.v1.DCBGrpc.DCBBlockingStub
- Enclosing class:
DCBGrpc
public static final class DCBGrpc.DCBBlockingStub
extends io.grpc.stub.AbstractBlockingStub<DCBGrpc.DCBBlockingStub>
A stub to allow clients to do limited synchronous 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 TypeMethodDescriptionappend(Umadb.AppendRequest request) Appends new events to the store.protected DCBGrpc.DCBBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) getTrackingInfo(Umadb.TrackingRequest request) Gets the last record position for a named source.head(Umadb.HeadRequest request) Gets the position of the last recorded event in the store.read(Umadb.ReadRequest request) Provides a stream of batches of already-recorded events, up to a captured head position.subscribe(Umadb.SubscribeRequest request) Provides a stream of batches of already-recorded events, then continues as new events are recorded.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.DCBBlockingStub>
-
read
Provides a stream of batches of already-recorded events, up to a captured head position.
-
subscribe
Provides a stream of batches of already-recorded events, then continues as new events are recorded.
-
append
Appends new events to the store.
-
head
Gets the position of the last recorded event in the store.
-
getTrackingInfo
Gets the last record position for a named source.
-