Class DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub
-
- Enclosing class:
- DcbSnapshotStoreGrpc
public static final class DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub extends io.grpc.stub.AbstractBlockingStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service DcbSnapshotStore.Service providing Snapshot Store RPCs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddSnapshotResponseadd(AddSnapshotRequest request)Adds a snapshot to the snapshot store.protected DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)DeleteSnapshotsResponsedelete(DeleteSnapshotsRequest request)Deletes a snapshot from the snapshot store.GetLastSnapshotResponsegetLast(GetLastSnapshotRequest request)Gets the latest snapshot based on the request from the snapshot store.Iterator<ListSnapshotsResponse>list(ListSnapshotsRequest request)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.DcbSnapshotStoreBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingStub>
-
add
public AddSnapshotResponse add(AddSnapshotRequest request)
Adds a snapshot to the snapshot store.
-
delete
public DeleteSnapshotsResponse delete(DeleteSnapshotsRequest request)
Deletes a snapshot from the snapshot store.
-
list
public Iterator<ListSnapshotsResponse> list(ListSnapshotsRequest request)
Retrieves snapshots from the snapshot store.
-
getLast
public GetLastSnapshotResponse getLast(GetLastSnapshotRequest request)
Gets the latest snapshot based on the request from the snapshot store.
-
-