Interface DCBGrpc.AsyncService
- All Known Implementing Classes:
DCBGrpc.DCBImplBase
- Enclosing class:
DCBGrpc
public static interface DCBGrpc.AsyncService
Service providing Event Store RPCs supporting DCB.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidappend(Umadb.AppendRequest request, io.grpc.stub.StreamObserver<Umadb.AppendResponse> responseObserver) Appends new events to the store.default voidgetTrackingInfo(Umadb.TrackingRequest request, io.grpc.stub.StreamObserver<Umadb.TrackingResponse> responseObserver) Gets the last record position for a named source.default voidhead(Umadb.HeadRequest request, io.grpc.stub.StreamObserver<Umadb.HeadResponse> responseObserver) Gets the position of the last recorded event in the store.default 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.default 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.
-
Method Details
-
read
default 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
default 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
default void append(Umadb.AppendRequest request, io.grpc.stub.StreamObserver<Umadb.AppendResponse> responseObserver) Appends new events to the store.
-
head
default void head(Umadb.HeadRequest request, io.grpc.stub.StreamObserver<Umadb.HeadResponse> responseObserver) Gets the position of the last recorded event in the store.
-
getTrackingInfo
default void getTrackingInfo(Umadb.TrackingRequest request, io.grpc.stub.StreamObserver<Umadb.TrackingResponse> responseObserver) Gets the last record position for a named source.
-