| Package | Description |
|---|---|
| net.spy.memcached |
Memcached client and transformation utils
|
| net.spy.memcached.internal |
Internal utilities.
|
| net.spy.memcached.ops |
Fundamental protocol operation interfaces
|
| net.spy.memcached.protocol.ascii |
Low-level operations for the memcached ascii protocol
|
| net.spy.memcached.protocol.binary |
Low-level operations for the memcached binary protocol
|
| Modifier and Type | Method and Description |
|---|---|
<T> GetConfigFuture<T> |
MemcachedClient.asyncGetConfig(java.net.InetSocketAddress addr,
ConfigurationType type,
Transcoder<T> tc)
Get the given configurationType asynchronously.
|
DeleteConfigOperation |
OperationFactory.deleteConfig(ConfigurationType type,
OperationCallback operationCallback)
Create a deletion operation for config.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.deleteConfig(java.net.InetSocketAddress addr,
ConfigurationType configurationType)
Delete the given configurationType from the cache server.
|
GetConfigOperation |
OperationFactory.getConfig(ConfigurationType type,
GetConfigOperation.Callback cb)
Create a getConfig operation.
|
java.lang.Object |
MemcachedClient.getConfig(java.net.InetSocketAddress addr,
ConfigurationType type)
Get the config
|
<T> T |
MemcachedClient.getConfig(java.net.InetSocketAddress addr,
ConfigurationType type,
Transcoder<T> tc)
Get the config using the config protocol.
|
static byte[] |
ConfigurationTypeUtil.getTypeBytes(ConfigurationType type)
Get the bytes for a config type.
|
SetConfigOperation |
OperationFactory.setConfig(ConfigurationType type,
int flags,
byte[] data,
OperationCallback cb)
Create a setConfig operation.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.setConfig(java.net.InetSocketAddress addr,
ConfigurationType configurationType,
java.lang.Object o)
Sets the configuration in the cache node for the specified configurationType.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.setConfig(java.net.InetSocketAddress addr,
ConfigurationType configurationType,
java.lang.Object o,
Transcoder<T> tc)
Sets the configuration in the cache node for the specified configurationType.
|
| Modifier and Type | Method and Description |
|---|---|
static java.util.Collection<byte[]> |
ConfigurationTypeUtil.getTypeBytes(java.util.Collection<ConfigurationType> types)
Get the types in byte form for all of the config types.
|
| Constructor and Description |
|---|
GetConfigFuture(java.util.concurrent.CountDownLatch l,
long opTimeout,
ConfigurationType type,
java.util.concurrent.ExecutorService service) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationType |
GetConfigOperation.getType()
Get the type used for fetching config.
|
ConfigurationType |
DeleteConfigOperation.getType()
Get the type to be deleted.
|
ConfigurationType |
SetConfigOperation.getType()
Get the type used for setting the config.
|
static ConfigurationType |
ConfigurationType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationType[] |
ConfigurationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetConfigOperation.Callback.gotData(ConfigurationType type,
int flags,
byte[] data)
Callback for result from getConfig.
|
| Modifier and Type | Method and Description |
|---|---|
DeleteConfigOperation |
AsciiOperationFactory.deleteConfig(ConfigurationType type,
OperationCallback cb) |
GetConfigOperation |
AsciiOperationFactory.getConfig(ConfigurationType type,
GetConfigOperation.Callback cb) |
SetConfigOperation |
AsciiOperationFactory.setConfig(ConfigurationType type,
int flags,
byte[] data,
OperationCallback cb) |
| Modifier and Type | Method and Description |
|---|---|
DeleteConfigOperation |
BinaryOperationFactory.deleteConfig(ConfigurationType type,
OperationCallback cb) |
GetConfigOperation |
BinaryOperationFactory.getConfig(ConfigurationType type,
GetConfigOperation.Callback callback) |
SetConfigOperation |
BinaryOperationFactory.setConfig(ConfigurationType type,
int flags,
byte[] data,
OperationCallback cb) |
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.