Class ProtostellarEndpoint


  • public class ProtostellarEndpoint
    extends Object
    Wraps a GRPC ManagedChannel.
    • Method Detail

      • shutdown

        public void shutdown​(Duration timeout)
      • kvStub

        public com.couchbase.client.protostellar.kv.v1.KvGrpc.KvFutureStub kvStub()
      • kvBlockingStub

        public com.couchbase.client.protostellar.kv.v1.KvGrpc.KvBlockingStub kvBlockingStub()
      • analyticsStub

        public com.couchbase.client.protostellar.analytics.v1.AnalyticsGrpc.AnalyticsStub analyticsStub()
      • queryStub

        public com.couchbase.client.protostellar.query.v1.QueryGrpc.QueryStub queryStub()
      • hooksBlockingStub

        public com.couchbase.client.protostellar.internal.hooks.v1.HooksGrpc.HooksBlockingStub hooksBlockingStub()
      • collectionAdminStub

        public com.couchbase.client.protostellar.admin.collection.v1.CollectionAdminGrpc.CollectionAdminFutureStub collectionAdminStub()
      • isShutdown

        public boolean isShutdown()
        Note that this is synchronized against something that could block for some time - but only during shutdown.

        It's synchronized to make the shutdown process atomic.