@InterfaceStability.Committed @InterfaceAudience.Public public interface CouchbaseEnvironment extends CoreEnvironment
The CouchbaseEnvironment
which shares state across Cluster
s.
Modifier and Type | Method and Description |
---|---|
String |
clientBuild()
Returns build information on the Couchbase Java SDK client.
|
String |
clientVersion()
Returns version information on the Couchbase Java SDK client.
|
long |
connectTimeout()
The default timeout for connect operations, set to
DefaultCouchbaseEnvironment.CONNECT_TIMEOUT . |
boolean |
dnsSrvEnabled()
Returns whether DNS SRV lookup for the bootstrap nodes is enabled or not.
|
long |
kvTimeout()
The default timeout for binary (key/value) operations, set to
DefaultCouchbaseEnvironment.KV_TIMEOUT . |
long |
managementTimeout()
The default timeout for management operations, set to
DefaultCouchbaseEnvironment.MANAGEMENT_TIMEOUT . |
long |
queryTimeout()
The default timeout for query operations, set to
DefaultCouchbaseEnvironment.QUERY_TIMEOUT . |
long |
searchTimeout()
The default timeout for search operations, set to
DefaultCouchbaseEnvironment.SEARCH_TIMEOUT . |
long |
viewTimeout()
The default timeout for view operations, set to
DefaultCouchbaseEnvironment.VIEW_TIMEOUT . |
autoreleaseAfter, bootstrapCarrierDirectPort, bootstrapCarrierEnabled, bootstrapCarrierSslPort, bootstrapHttpDirectPort, bootstrapHttpEnabled, bootstrapHttpSslPort, bufferPoolingEnabled, callbacksOnIoPool, computationPoolSize, coreBuild, coreVersion, dcpConnectionBufferAckThreshold, dcpConnectionBufferSize, dcpConnectionName, dcpEnabled, disconnectTimeout, eventBus, ioPool, ioPoolSize, keepAliveInterval, kvEndpoints, maxRequestLifetime, memcachedHashingStrategy, mutationTokensEnabled, networkLatencyMetricsCollector, observeIntervalDelay, packageNameAndVersion, queryEndpoints, reconnectDelay, requestBufferSize, requestBufferWaitStrategy, responseBufferSize, retryDelay, retryStrategy, runtimeMetricsCollector, scheduler, searchEndpoints, shutdown, shutdown, shutdownAsync, socketConnectTimeout, tcpNodelayEnabled, userAgent, viewEndpoints
sslEnabled, sslKeystore, sslKeystoreFile, sslKeystorePassword
long managementTimeout()
The default timeout for management operations, set to DefaultCouchbaseEnvironment.MANAGEMENT_TIMEOUT
.
long queryTimeout()
The default timeout for query operations, set to DefaultCouchbaseEnvironment.QUERY_TIMEOUT
.
long viewTimeout()
The default timeout for view operations, set to DefaultCouchbaseEnvironment.VIEW_TIMEOUT
.
long searchTimeout()
The default timeout for search operations, set to DefaultCouchbaseEnvironment.SEARCH_TIMEOUT
.
long kvTimeout()
The default timeout for binary (key/value) operations, set to DefaultCouchbaseEnvironment.KV_TIMEOUT
.
long connectTimeout()
The default timeout for connect operations, set to DefaultCouchbaseEnvironment.CONNECT_TIMEOUT
.
boolean dnsSrvEnabled()
Returns whether DNS SRV lookup for the bootstrap nodes is enabled or not.
String clientVersion()
Returns version information on the Couchbase Java SDK client. Version number is in the form MAJOR.MINOR.PATCH, and is the one for the java-client layer.
for a more specific build information (relevant for tracking
the exact version of the code the client was built from)
,
for the same information but relative to the core layer.
String clientBuild()
Returns build information on the Couchbase Java SDK client. This has a better granularity than clientVersion()
and thus is more relevant to track the exact version of the code the client was built from.
Build information can contain VCS information like commit numbers, tags, etc…
for more generic version information.
,
for the same information but relative to the core layer.
Copyright © 2015 Couchbase, Inc.