Package com.couchbase.client.core
Class CoreProtostellar
- java.lang.Object
-
- com.couchbase.client.core.CoreProtostellar
-
- All Implemented Interfaces:
CoreCouchbaseOps
@Internal public class CoreProtostellar extends Object implements CoreCouchbaseOps
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PROTOSTELLAR_TLS_PORT
-
Constructor Summary
Constructors Constructor Description CoreProtostellar(CoreEnvironment env, Authenticator authenticator, ConnectionString connectionString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoreSearchIndexManagerclusterSearchIndexManager()CoreCollectionManagercollectionManager(String bucketName)ProtostellarContextcontext()ProtostellarEndpointendpoint()CoreEnvironmentenvironment()CoreKvBinaryOpskvBinaryOps(CoreKeyspace keyspace)CoreKvOpskvOps(CoreKeyspace keyspace)ProtostellarPoolpool()CoreQueryOpsqueryOps()ValueRecorderresponseMetric(Core.ResponseMetricIdentifier rmi)CoreSearchIndexManagerscopeSearchIndexManager(CoreBucketAndScope scope)CoreSearchOpssearchOps(CoreBucketAndScope scope)Mono<Void>shutdown(Duration timeout)CompletableFuture<Void>waitUntilReady(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, String bucketName)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.couchbase.client.core.api.CoreCouchbaseOps
asCore
-
-
-
-
Field Detail
-
DEFAULT_PROTOSTELLAR_TLS_PORT
public static final int DEFAULT_PROTOSTELLAR_TLS_PORT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CoreProtostellar
public CoreProtostellar(CoreEnvironment env, Authenticator authenticator, ConnectionString connectionString)
-
-
Method Detail
-
context
public ProtostellarContext context()
-
shutdown
public Mono<Void> shutdown(Duration timeout)
- Specified by:
shutdownin interfaceCoreCouchbaseOps
-
endpoint
public ProtostellarEndpoint endpoint()
-
pool
public ProtostellarPool pool()
-
responseMetric
@Internal public ValueRecorder responseMetric(Core.ResponseMetricIdentifier rmi)
-
kvOps
public CoreKvOps kvOps(CoreKeyspace keyspace)
- Specified by:
kvOpsin interfaceCoreCouchbaseOps
-
queryOps
public CoreQueryOps queryOps()
- Specified by:
queryOpsin interfaceCoreCouchbaseOps
-
searchOps
public CoreSearchOps searchOps(@Nullable CoreBucketAndScope scope)
- Specified by:
searchOpsin interfaceCoreCouchbaseOps
-
kvBinaryOps
public CoreKvBinaryOps kvBinaryOps(CoreKeyspace keyspace)
- Specified by:
kvBinaryOpsin interfaceCoreCouchbaseOps
-
collectionManager
public CoreCollectionManager collectionManager(String bucketName)
- Specified by:
collectionManagerin interfaceCoreCouchbaseOps
-
clusterSearchIndexManager
public CoreSearchIndexManager clusterSearchIndexManager()
- Specified by:
clusterSearchIndexManagerin interfaceCoreCouchbaseOps
-
scopeSearchIndexManager
public CoreSearchIndexManager scopeSearchIndexManager(CoreBucketAndScope scope)
- Specified by:
scopeSearchIndexManagerin interfaceCoreCouchbaseOps
-
environment
public CoreEnvironment environment()
- Specified by:
environmentin interfaceCoreCouchbaseOps
-
waitUntilReady
public CompletableFuture<Void> waitUntilReady(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, @Nullable String bucketName)
- Specified by:
waitUntilReadyin interfaceCoreCouchbaseOps
-
-