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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    call(Object request)
    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.
    Retrieves existing entries from the database matching a key pattern.
    com.google.protobuf.Empty
    write(Object request)
    Stores an object on key.

    Methods inherited from class io.grpc.stub.AbstractBlockingStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected OctopusGrpc.OctopusBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<OctopusGrpc.OctopusBlockingStub>
    • query

      public QueryResponse query(QueryRequest request)
      
      Retrieves existing entries from the database matching a
      key pattern. Can optionally include expired (include all
      revisions) objects and filter by creation time.
      
    • get

      public GetResponse get(GetRequest request)
      
      Retrieves only one existing entry from the database matching a key.
      
    • write

      public com.google.protobuf.Empty write(Object request)
      
      Stores an object on key.
      
    • call

      public Entry call(Object request)
      
      Stores an object on key in the database and returns the
      stored version, including the revision and ID.