Class OctopusGrpc.OctopusBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<OctopusGrpc.OctopusBlockingStub>
io.grpc.stub.AbstractBlockingStub<OctopusGrpc.OctopusBlockingStub>
studio.o7.octopus.sdk.v1.OctopusGrpc.OctopusBlockingStub
- Enclosing class:
OctopusGrpc
public static final class OctopusGrpc.OctopusBlockingStub
extends io.grpc.stub.AbstractBlockingStub<OctopusGrpc.OctopusBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service Octopus.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T> -
Method Summary
Modifier and TypeMethodDescriptionprotected OctopusGrpc.OctopusBlockingStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Stores an object on key in the database and returns the stored version, including the revision and ID.get(GetRequest request) Retrieves only one existing entry from the database matching a key.query(QueryRequest request) Retrieves existing entries from the database matching a key pattern.com.google.protobuf.EmptyStores an object on key.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
protected OctopusGrpc.OctopusBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OctopusGrpc.OctopusBlockingStub>
-
query
Retrieves existing entries from the database matching a key pattern. Can optionally include expired (include all revisions) objects and filter by creation time.
-
get
Retrieves only one existing entry from the database matching a key.
-
write
Stores an object on key.
-
call
-