Class DefaultCouchbaseEnvironment

java.lang.Object
com.couchbase.client.core.env.DefaultCoreEnvironment
com.couchbase.client.java.env.DefaultCouchbaseEnvironment
All Implemented Interfaces:
ConfigParserEnvironment, CoreEnvironment, SecureEnvironment, CouchbaseEnvironment

public class DefaultCouchbaseEnvironment
extends DefaultCoreEnvironment
implements CouchbaseEnvironment
The default implementation of a CouchbaseEnvironment. This environment is intended to be reused and passed in across AsyncCluster instances. It is stateful and needs to be shut down manually if it was passed in by the user. Some threads it manages are non-daemon threads. Default settings can be customized through the DefaultCouchbaseEnvironment.Builder or through the setting of system properties. Latter ones take always precedence and can be used to override builder settings at runtime too.
Since:
2.0
Author:
Michael Nitschinger