Class DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub>
-
- io.axoniq.axonserver.grpc.event.dcb.DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub
-
- Enclosing class:
- DcbSnapshotStoreGrpc
public static final class DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub>
A stub to allow clients to do 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.DcbSnapshotStoreBlockingV2Stubbuild(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.io.grpc.stub.BlockingClientCall<?,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.DcbSnapshotStoreBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<DcbSnapshotStoreGrpc.DcbSnapshotStoreBlockingV2Stub>
-
add
public AddSnapshotResponse add(AddSnapshotRequest request) throws io.grpc.StatusException
Adds a snapshot to the snapshot store.
- Throws:
io.grpc.StatusException
-
delete
public DeleteSnapshotsResponse delete(DeleteSnapshotsRequest request) throws io.grpc.StatusException
Deletes a snapshot from the snapshot store.
- Throws:
io.grpc.StatusException
-
list
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,ListSnapshotsResponse> list(ListSnapshotsRequest request)Retrieves snapshots from the snapshot store.
-
getLast
public GetLastSnapshotResponse getLast(GetLastSnapshotRequest request) throws io.grpc.StatusException
Gets the latest snapshot based on the request from the snapshot store.
- Throws:
io.grpc.StatusException
-
-