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 int
DEFAULT_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 CoreBucketManagerOps
bucketManager()
CoreSearchIndexManager
clusterSearchIndexManager()
CoreCollectionManager
collectionManager(String bucketName)
ProtostellarContext
context()
ProtostellarEndpoint
endpoint()
CoreEnvironment
environment()
CoreKvBinaryOps
kvBinaryOps(CoreKeyspace keyspace)
CoreKvOps
kvOps(CoreKeyspace keyspace)
ProtostellarPool
pool()
CoreQueryOps
queryOps()
ValueRecorder
responseMetric(Core.ResponseMetricIdentifier rmi)
CoreSearchIndexManager
scopeSearchIndexManager(CoreBucketAndScope scope)
CoreSearchOps
searchOps(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:
shutdown
in 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:
kvOps
in interfaceCoreCouchbaseOps
-
queryOps
public CoreQueryOps queryOps()
- Specified by:
queryOps
in interfaceCoreCouchbaseOps
-
searchOps
public CoreSearchOps searchOps(@Nullable CoreBucketAndScope scope)
- Specified by:
searchOps
in interfaceCoreCouchbaseOps
-
kvBinaryOps
public CoreKvBinaryOps kvBinaryOps(CoreKeyspace keyspace)
- Specified by:
kvBinaryOps
in interfaceCoreCouchbaseOps
-
bucketManager
public CoreBucketManagerOps bucketManager()
- Specified by:
bucketManager
in interfaceCoreCouchbaseOps
-
collectionManager
public CoreCollectionManager collectionManager(String bucketName)
- Specified by:
collectionManager
in interfaceCoreCouchbaseOps
-
clusterSearchIndexManager
public CoreSearchIndexManager clusterSearchIndexManager()
- Specified by:
clusterSearchIndexManager
in interfaceCoreCouchbaseOps
-
scopeSearchIndexManager
public CoreSearchIndexManager scopeSearchIndexManager(CoreBucketAndScope scope)
- Specified by:
scopeSearchIndexManager
in interfaceCoreCouchbaseOps
-
environment
public CoreEnvironment environment()
- Specified by:
environment
in interfaceCoreCouchbaseOps
-
waitUntilReady
public CompletableFuture<Void> waitUntilReady(Set<ServiceType> serviceTypes, Duration timeout, ClusterState desiredState, @Nullable String bucketName)
- Specified by:
waitUntilReady
in interfaceCoreCouchbaseOps
-
-