public class ProtostellarEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static ProtostellarStatsCollector |
collector |
Constructor and Description |
---|
ProtostellarEndpoint(ProtostellarContext ctx,
HostAndPort remote) |
Modifier and Type | Method and Description |
---|---|
com.couchbase.client.protostellar.analytics.v1.AnalyticsServiceGrpc.AnalyticsServiceStub |
analyticsStub() |
com.couchbase.client.protostellar.admin.bucket.v1.BucketAdminServiceGrpc.BucketAdminServiceFutureStub |
bucketAdminStub() |
com.couchbase.client.protostellar.admin.collection.v1.CollectionAdminServiceGrpc.CollectionAdminServiceFutureStub |
collectionAdminStub() |
EndpointDiagnostics |
diagnostics() |
com.couchbase.client.protostellar.internal.hooks.v1.HooksServiceGrpc.HooksServiceBlockingStub |
hooksBlockingStub() |
HostAndPort |
hostAndPort() |
boolean |
isShutdown()
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 |
kvBlockingStub() |
com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceFutureStub |
kvStub() |
com.couchbase.client.protostellar.query.v1.QueryServiceGrpc.QueryServiceStub |
queryStub() |
com.couchbase.client.protostellar.admin.search.v1.SearchAdminServiceGrpc.SearchAdminServiceFutureStub |
searchAdminStub() |
com.couchbase.client.protostellar.search.v1.SearchServiceGrpc.SearchServiceStub |
searchStub() |
void |
shutdown(Duration timeout) |
CompletableFuture<Void> |
waitUntilReady(Deadline deadline,
boolean waitingForReady)
Waits until the ManagedChannel is in READY state.
|
public static ProtostellarStatsCollector collector
public ProtostellarEndpoint(ProtostellarContext ctx, HostAndPort remote)
public EndpointDiagnostics diagnostics()
public void shutdown(Duration timeout)
public com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceFutureStub kvStub()
public com.couchbase.client.protostellar.kv.v1.KvServiceGrpc.KvServiceBlockingStub kvBlockingStub()
public com.couchbase.client.protostellar.analytics.v1.AnalyticsServiceGrpc.AnalyticsServiceStub analyticsStub()
public com.couchbase.client.protostellar.query.v1.QueryServiceGrpc.QueryServiceStub queryStub()
public com.couchbase.client.protostellar.search.v1.SearchServiceGrpc.SearchServiceStub searchStub()
public com.couchbase.client.protostellar.internal.hooks.v1.HooksServiceGrpc.HooksServiceBlockingStub hooksBlockingStub()
public com.couchbase.client.protostellar.admin.collection.v1.CollectionAdminServiceGrpc.CollectionAdminServiceFutureStub collectionAdminStub()
public com.couchbase.client.protostellar.admin.bucket.v1.BucketAdminServiceGrpc.BucketAdminServiceFutureStub bucketAdminStub()
public com.couchbase.client.protostellar.admin.search.v1.SearchAdminServiceGrpc.SearchAdminServiceFutureStub searchAdminStub()
public boolean isShutdown()
It's synchronized to make the shutdown process atomic.
public HostAndPort hostAndPort()
@Stability.Internal public CompletableFuture<Void> waitUntilReady(Deadline deadline, boolean waitingForReady)
CoreCouchbaseOps.waitUntilReady(Set, Duration, ClusterState, String)
uses.Copyright © 2024 Couchbase, Inc.. All rights reserved.