Class ProtostellarEndpoint
java.lang.Object
com.couchbase.client.core.endpoint.ProtostellarEndpoint
Wraps a GRPC ManagedChannel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.couchbase.client.protostellar.analytics.v1.AnalyticsServiceGrpc.AnalyticsServiceStubcom.couchbase.client.protostellar.admin.bucket.v1.BucketAdminServiceGrpc.BucketAdminServiceFutureStubcom.couchbase.client.protostellar.admin.collection.v1.CollectionAdminServiceGrpc.CollectionAdminServiceFutureStubcom.couchbase.client.protostellar.internal.hooks.v1.HooksServiceGrpc.HooksServiceBlockingStubbooleanNote that this is synchronized against something that could block for some time - but only during shutdown.com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceBlockingStubcom.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceFutureStubkvStub()com.couchbase.client.protostellar.query.v1.QueryServiceGrpc.QueryServiceStubcom.couchbase.client.protostellar.admin.search.v1.SearchAdminServiceGrpc.SearchAdminServiceFutureStubcom.couchbase.client.protostellar.search.v1.SearchServiceGrpc.SearchServiceStubvoidwaitUntilReady(Deadline deadline, boolean waitingForReady) Waits until the ManagedChannel is in READY state.
-
Field Details
-
collector
-
-
Constructor Details
-
ProtostellarEndpoint
-
-
Method Details
-
diagnostics
-
shutdown
-
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() -
bucketAdminStub
public com.couchbase.client.protostellar.admin.bucket.v1.BucketAdminServiceGrpc.BucketAdminServiceFutureStub bucketAdminStub() -
searchAdminStub
public com.couchbase.client.protostellar.admin.search.v1.SearchAdminServiceGrpc.SearchAdminServiceFutureStub searchAdminStub() -
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.
-
hostAndPort
-
waitUntilReady
Waits until the ManagedChannel is in READY state. Will also initialise trying to make that connection if it's not already.- Returns:
- a CompletableFuture, as that's what
CoreCouchbaseOps.waitUntilReady(Set, Duration, ClusterState, String)uses.
-