Class DcbSnapshotStoreGrpc.DcbSnapshotStoreStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreStub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbSnapshotStoreGrpc.DcbSnapshotStoreStub
-
- Enclosing class:
- DcbSnapshotStoreGrpc
public static final class DcbSnapshotStoreGrpc.DcbSnapshotStoreStub extends io.grpc.stub.AbstractAsyncStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreStub>
A stub to allow clients to do asynchronous rpc calls to service DcbSnapshotStore.Service providing Snapshot Store RPCs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AddSnapshotRequest request, io.grpc.stub.StreamObserver<AddSnapshotResponse> responseObserver)Adds a snapshot to the snapshot store.protected DcbSnapshotStoreGrpc.DcbSnapshotStoreStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voiddelete(DeleteSnapshotsRequest request, io.grpc.stub.StreamObserver<DeleteSnapshotsResponse> responseObserver)Deletes a snapshot from the snapshot store.voidgetLast(GetLastSnapshotRequest request, io.grpc.stub.StreamObserver<GetLastSnapshotResponse> responseObserver)Gets the latest snapshot based on the request from the snapshot store.voidlist(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)Retrieves snapshots from the snapshot store.-
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
-
-
-
Method Detail
-
build
protected DcbSnapshotStoreGrpc.DcbSnapshotStoreStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreStub>
-
add
public void add(AddSnapshotRequest request, io.grpc.stub.StreamObserver<AddSnapshotResponse> responseObserver)
Adds a snapshot to the snapshot store.
-
delete
public void delete(DeleteSnapshotsRequest request, io.grpc.stub.StreamObserver<DeleteSnapshotsResponse> responseObserver)
Deletes a snapshot from the snapshot store.
-
list
public void list(ListSnapshotsRequest request, io.grpc.stub.StreamObserver<ListSnapshotsResponse> responseObserver)
Retrieves snapshots from the snapshot store.
-
getLast
public void getLast(GetLastSnapshotRequest request, io.grpc.stub.StreamObserver<GetLastSnapshotResponse> responseObserver)
Gets the latest snapshot based on the request from the snapshot store.
-
-