Class ProtostellarEndpoint
java.lang.Object
com.couchbase.client.core.endpoint.ProtostellarEndpoint
Wraps a GRPC ManagedChannel.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.couchbase.client.protostellar.analytics.v1.AnalyticsServiceGrpc.AnalyticsServiceStub
com.couchbase.client.protostellar.admin.bucket.v1.BucketAdminServiceGrpc.BucketAdminServiceFutureStub
com.couchbase.client.protostellar.admin.collection.v1.CollectionAdminServiceGrpc.CollectionAdminServiceFutureStub
com.couchbase.client.protostellar.internal.hooks.v1.HooksServiceGrpc.HooksServiceBlockingStub
boolean
Note that this is synchronized against something that could block for some time - but only during shutdown.com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceBlockingStub
com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceFutureStub
kvStub()
com.couchbase.client.protostellar.query.v1.QueryServiceGrpc.QueryServiceStub
com.couchbase.client.protostellar.admin.search.v1.SearchAdminServiceGrpc.SearchAdminServiceFutureStub
com.couchbase.client.protostellar.search.v1.SearchServiceGrpc.SearchServiceStub
void
waitUntilReady
(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.
-