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.KvServiceGrpc.KvServiceFutureStub kvStub()
      • kvBlockingStub

        public com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceBlockingStub kvBlockingStub()
      • analyticsStub

        public com.couchbase.client.protostellar.analytics.v1.AnalyticsServiceGrpc.AnalyticsServiceStub analyticsStub()
      • queryStub

        public com.couchbase.client.protostellar.query.v1.QueryServiceGrpc.QueryServiceStub queryStub()
      • searchStub

        public com.couchbase.client.protostellar.search.v1.SearchServiceGrpc.SearchServiceStub searchStub()
      • hooksBlockingStub

        public com.couchbase.client.protostellar.internal.hooks.v1.HooksServiceGrpc.HooksServiceBlockingStub hooksBlockingStub()
      • collectionAdminStub

        public com.couchbase.client.protostellar.admin.collection.v1.CollectionAdminServiceGrpc.CollectionAdminServiceFutureStub 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.