Package | Description |
---|---|
com.couchbase.client | |
com.couchbase.client.vbucket | |
com.couchbase.client.vbucket.config |
Modifier and Type | Method and Description |
---|---|
Config |
CouchbaseConnectionFactoryBuilder.getVBucketConfig()
Returns a potentially set configuration.
|
Config |
CouchbaseConnectionFactory.getVBucketConfig() |
Modifier and Type | Method and Description |
---|---|
CouchbaseConnectionFactoryBuilder |
CouchbaseConnectionFactoryBuilder.setVBucketConfig(Config config)
Sets a custom
Config to use. |
Modifier and Type | Method and Description |
---|---|
Config |
ConfigurationProviderHTTP.getLatestConfig(java.lang.String bucketname) |
Modifier and Type | Method and Description |
---|---|
void |
VBucketNodeLocator.updateLocator(java.util.Collection<net.spy.memcached.MemcachedNode> nodes,
Config newconf) |
Constructor and Description |
---|
VBucketNodeLocator(java.util.List<net.spy.memcached.MemcachedNode> nodes,
Config jsonConfig)
Construct a VBucketNodeLocator over the given JSON configuration string.
|
Modifier and Type | Class and Description |
---|---|
class |
CouchbaseConfig
A
Config implementation that represents a "couchbase" bucket config. |
class |
MemcacheConfig
The MemcacheConfig class represents a configuration object for memcached-type
buckets.
|
Modifier and Type | Method and Description |
---|---|
Config |
DefaultConfigFactory.create(java.io.File source)
Create a
Config from a File . |
Config |
ConfigFactory.create(java.io.File file) |
Config |
DefaultConfigFactory.create(org.codehaus.jettison.json.JSONObject source)
Create a
Config from a JSONObject . |
Config |
ConfigFactory.create(org.codehaus.jettison.json.JSONObject jsonObject) |
Config |
DefaultConfigFactory.create(org.codehaus.jettison.json.JSONObject source,
Config oldConfig) |
Config |
ConfigFactory.create(org.codehaus.jettison.json.JSONObject jsonObject,
Config oldConfig) |
Config |
DefaultConfigFactory.create(java.lang.String source)
Create a
Config from a raw JSON String. |
Config |
ConfigFactory.create(java.lang.String data) |
Config |
Bucket.getConfig() |
Modifier and Type | Method and Description |
---|---|
ConfigDifference |
MemcacheConfig.compareTo(Config config) |
ConfigDifference |
CouchbaseConfig.compareTo(Config config)
Compares the given configuration with the current configuration
and calculates the differences.
|
ConfigDifference |
Config.compareTo(Config config) |
Config |
DefaultConfigFactory.create(org.codehaus.jettison.json.JSONObject source,
Config oldConfig) |
Config |
ConfigFactory.create(org.codehaus.jettison.json.JSONObject jsonObject,
Config oldConfig) |
Constructor and Description |
---|
Bucket(java.lang.String name,
Config configuration,
java.net.URI streamingURI,
java.util.List<Node> nodes,
long revision) |
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.