- CachedData - Class in net.spy.memcached
-
Cached data with its attributes.
- CachedData(int, byte[], int) - Constructor for class net.spy.memcached.CachedData
-
Get a CachedData instance for the given flags and byte array.
- CacheLoader - Class in net.spy.memcached.util
-
CacheLoader provides efficient mechanisms for storing lots of data.
- CacheLoader(MemcachedClientIF) - Constructor for class net.spy.memcached.util.CacheLoader
-
Simple CacheLoader constructor that doesn't provide any feedback and caches
forever.
- CacheLoader(MemcachedClientIF, ExecutorService, CacheLoader.StorageListener, int) - Constructor for class net.spy.memcached.util.CacheLoader
-
Get a CacheLoader with all the options.
- CacheLoader.StorageListener - Interface in net.spy.memcached.util
-
If you are interested in the results of your data load, this interface will
receive them.
- CacheMap - Class in net.spy.memcached
-
A Map interface to memcached.
- CacheMap(MemcachedClientIF, int, String) - Constructor for class net.spy.memcached.CacheMap
-
Construct a CacheMap over the given MemcachedClient.
- CacheMap(MemcachedClientIF, String) - Constructor for class net.spy.memcached.CacheMap
-
Construct a CacheMap over the given MemcachedClient with no expiration.
- cancel(boolean) - Method in class net.spy.memcached.internal.BulkGetFuture
-
- cancel(boolean) - Method in class net.spy.memcached.internal.GetConfigFuture
-
- cancel(boolean) - Method in class net.spy.memcached.internal.GetFuture
-
- cancel(boolean) - Method in class net.spy.memcached.internal.ImmediateFuture
-
- cancel(boolean) - Method in class net.spy.memcached.internal.OperationFuture
-
Deprecated.
- cancel() - Method in class net.spy.memcached.internal.OperationFuture
-
Cancel this operation, if possible.
- cancel() - Method in interface net.spy.memcached.ops.Operation
-
Cancel this operation.
- cancel() - Method in class net.spy.memcached.protocol.BaseOperationImpl
-
- cancel() - Method in class net.spy.memcached.tapmessage.TapStream
-
Cancels all operations still waiting on an existing TapStream.
- CANCELLED - Static variable in class net.spy.memcached.protocol.BaseOperationImpl
-
Status object for canceled operations.
- CancelledOperationStatus - Class in net.spy.memcached.ops
-
Operation status indicating an operation was cancelled.
- CancelledOperationStatus() - Constructor for class net.spy.memcached.ops.CancelledOperationStatus
-
- cas(String, T, int, CASMutation<T>) - Method in class net.spy.memcached.CASMutator
-
CAS a new value in for a key.
- cas(String, long, T, Transcoder<T>) - Method in class net.spy.memcached.MemcachedClient
-
Perform a synchronous CAS operation.
- cas(String, long, int, T, Transcoder<T>) - Method in class net.spy.memcached.MemcachedClient
-
Perform a synchronous CAS operation.
- cas(String, long, Object) - Method in class net.spy.memcached.MemcachedClient
-
Perform a synchronous CAS operation with the default transcoder.
- cas(String, long, int, Object) - Method in class net.spy.memcached.MemcachedClient
-
Perform a synchronous CAS operation with the default transcoder.
- cas(String, long, int, T, Transcoder<T>) - Method in interface net.spy.memcached.MemcachedClientIF
-
- cas(String, long, Object) - Method in interface net.spy.memcached.MemcachedClientIF
-
- cas(String, long, int, Object) - Method in interface net.spy.memcached.MemcachedClientIF
-
- cas(String, long, T, Transcoder<T>) - Method in interface net.spy.memcached.MemcachedClientIF
-
- cas(StoreType, String, long, int, int, byte[], StoreOperation.Callback) - Method in interface net.spy.memcached.OperationFactory
-
Create a CAS operation.
- cas(StoreType, String, long, int, int, byte[], StoreOperation.Callback) - Method in class net.spy.memcached.protocol.ascii.AsciiOperationFactory
-
- cas(StoreType, String, long, int, int, byte[], StoreOperation.Callback) - Method in class net.spy.memcached.protocol.binary.BinaryOperationFactory
-
- CASMutation<T> - Interface in net.spy.memcached
-
Defines a mutation mechanism for a high-level CAS client interface.
- CASMutator<T> - Class in net.spy.memcached
-
Object that provides mutation via CAS over a given memcache client.
- CASMutator(MemcachedClientIF, Transcoder<T>, int) - Constructor for class net.spy.memcached.CASMutator
-
Construct a CASMutator that uses the given client.
- CASMutator(MemcachedClientIF, Transcoder<T>) - Constructor for class net.spy.memcached.CASMutator
-
Construct a CASMutator that uses the given client.
- CASOperation - Interface in net.spy.memcached.ops
-
Operation that represents compare-and-swap.
- CASOperationStatus - Class in net.spy.memcached.ops
-
OperationStatus subclass for indicating CAS status.
- CASOperationStatus(boolean, String, CASResponse, StatusCode) - Constructor for class net.spy.memcached.ops.CASOperationStatus
-
- CASResponse - Enum in net.spy.memcached
-
Response codes for a CAS operation.
- CASValue<T> - Class in net.spy.memcached
-
A value with a CAS identifier.
- CASValue(long, T) - Constructor for class net.spy.memcached.CASValue
-
Construct a new CASValue with the given identifer and value.
- cat(ConcatenationType, long, String, byte[], OperationCallback) - Method in interface net.spy.memcached.OperationFactory
-
Get a concatenation operation.
- cat(ConcatenationType, long, String, byte[], OperationCallback) - Method in class net.spy.memcached.protocol.ascii.AsciiOperationFactory
-
- cat(ConcatenationType, long, String, byte[], OperationCallback) - Method in class net.spy.memcached.protocol.binary.BinaryOperationFactory
-
- CheckedOperationTimeoutException - Exception in net.spy.memcached.internal
-
Timeout exception that tracks the original operation.
- CheckedOperationTimeoutException(String, Operation) - Constructor for exception net.spy.memcached.internal.CheckedOperationTimeoutException
-
Construct a CheckedOperationTimeoutException with the given message and
operation.
- CheckedOperationTimeoutException(String, Collection<Operation>) - Constructor for exception net.spy.memcached.internal.CheckedOperationTimeoutException
-
- clear() - Method in class net.spy.memcached.BaseCacheMap
-
- ClientMode - Enum in net.spy.memcached
-
The modes in which the client can operate.
- clone(KeyedOperation) - Method in interface net.spy.memcached.OperationFactory
-
Clone an operation.
- clone(KeyedOperation) - Method in class net.spy.memcached.ops.BaseOperationFactory
-
- close(Closeable) - Static method in class net.spy.memcached.compat.CloseUtil
-
Close a closeable.
- CloseUtil - Class in net.spy.memcached.compat
-
CloseUtil exists to provide a safe means to close anything closeable.
- ClusterConfiguration - Class in net.spy.memcached.config
-
A type to capture the configuration version number and the server list
contained the response for getConfig API for "cluster" configuration type.
- ClusterConfiguration(long, List<NodeEndPoint>) - Constructor for class net.spy.memcached.config.ClusterConfiguration
-
- ClusterConfigurationObserver - Interface in net.spy.memcached.config
-
Observer for changes in the ConfigurationType.CLUSTER type of config in the cluster.
- complete() - Method in class net.spy.memcached.ops.MultiOperationCallback
-
- complete() - Method in interface net.spy.memcached.ops.OperationCallback
-
Called whenever an operation completes.
- complete() - Method in class net.spy.memcached.protocol.GetCallbackWrapper
-
- complete() - Method in class net.spy.memcached.protocol.ProxyCallback
-
- completedRead() - Method in interface net.spy.memcached.MemcachedNode
-
Notify node of successful read.
- completedRead() - Method in class net.spy.memcached.protocol.TCPMemcachedNodeImpl
-
Mark this node as having just completed a read.
- COMPRESSED - Static variable in class net.spy.memcached.transcoders.WhalinV1Transcoder
-
- computeMd5(String) - Static method in enum net.spy.memcached.DefaultHashAlgorithm
-
Get the md5 of the given key.
- ConcatenationOperation - Interface in net.spy.memcached.ops
-
ConcatenationOperation is used to append or prepend data to an existing
object in the cache.
- ConcatenationOperationImpl - Class in net.spy.memcached.protocol.ascii
-
Operation for ascii concatenations.
- ConcatenationOperationImpl(ConcatenationType, String, byte[], OperationCallback) - Constructor for class net.spy.memcached.protocol.ascii.ConcatenationOperationImpl
-
- ConcatenationType - Enum in net.spy.memcached.ops
-
Types of concatenation operations.
- ConfigurationObserver - Interface in net.spy.memcached.config
-
Base interface for all observers.
- ConfigurationPoller - Class in net.spy.memcached
-
A periodic poller to fetch configuration information from the server.
- ConfigurationPoller(MemcachedClient) - Constructor for class net.spy.memcached.ConfigurationPoller
-
- ConfigurationPoller(MemcachedClient, long, boolean) - Constructor for class net.spy.memcached.ConfigurationPoller
-
- ConfigurationType - Enum in net.spy.memcached.ops
-
Enumeration for the types of config stored in the cache server.
- ConfigurationTypeUtil - Class in net.spy.memcached
-
Utilities for processing config types.
- connected() - Method in interface net.spy.memcached.MemcachedNode
-
Notify this node that it has reconnected.
- connected() - Method in class net.spy.memcached.protocol.TCPMemcachedNodeImpl
-
- connectionEstablished(SocketAddress, int) - Method in interface net.spy.memcached.ConnectionObserver
-
A connection has just successfully been established on the given socket.
- connectionEstablished(SocketAddress, int) - Method in class net.spy.memcached.MemcachedClient
-
- connectionEstablished(SocketAddress, int) - Method in class net.spy.memcached.TapConnectionProvider
-
- ConnectionFactory - Interface in net.spy.memcached
-
Factory for creating instances of MemcachedConnection.
- ConnectionFactoryBuilder - Class in net.spy.memcached
-
Builder for more easily configuring a ConnectionFactory.
- ConnectionFactoryBuilder() - Constructor for class net.spy.memcached.ConnectionFactoryBuilder
-
Set the operation queue factory.
- ConnectionFactoryBuilder(ConnectionFactory) - Constructor for class net.spy.memcached.ConnectionFactoryBuilder
-
- ConnectionFactoryBuilder.Locator - Enum in net.spy.memcached
-
Type of node locator to use.
- ConnectionFactoryBuilder.Protocol - Enum in net.spy.memcached
-
Type of protocol to use for connections.
- connectionLost(SocketAddress) - Method in interface net.spy.memcached.ConnectionObserver
-
A connection was just lost on the given socket.
- connectionLost(SocketAddress) - Method in class net.spy.memcached.MemcachedClient
-
- connectionLost(SocketAddress) - Method in class net.spy.memcached.TapConnectionProvider
-
- ConnectionObserver - Interface in net.spy.memcached
-
Users of this interface will be notified when changes to the state of
connections take place.
- connectionsStatus() - Method in class net.spy.memcached.MemcachedConnection
-
Construct a String containing information about all nodes and their state.
- containsKey(Object) - Method in class net.spy.memcached.BaseCacheMap
-
- containsValue(Object) - Method in class net.spy.memcached.BaseCacheMap
-
This method always returns false, as truth cannot be determined without
iteration.
- copy(NodeEndPoint) - Static method in class net.spy.memcached.config.NodeEndPoint
-
copy one object to another.
- copyInputQueue() - Method in interface net.spy.memcached.MemcachedNode
-
Move all of the operations delivered via addOperation into the internal
write queue.
- copyInputQueue() - Method in class net.spy.memcached.protocol.TCPMemcachedNodeImpl
-
- create() - Method in class net.spy.memcached.ops.ArrayOperationQueueFactory
-
- create() - Method in class net.spy.memcached.ops.LinkedOperationQueueFactory
-
- create() - Method in interface net.spy.memcached.ops.OperationQueueFactory
-
Create an instance of a queue.
- createConnection(List<InetSocketAddress>) - Method in interface net.spy.memcached.ConnectionFactory
-
Create a MemcachedConnection for the given SocketAddresses.
- createConnection(List<InetSocketAddress>) - Method in class net.spy.memcached.DefaultConnectionFactory
-
- createLocator(List<MemcachedNode>) - Method in interface net.spy.memcached.ConnectionFactory
-
Create a NodeLocator instance for the given list of nodes.
- createLocator(List<MemcachedNode>) - Method in class net.spy.memcached.DefaultConnectionFactory
-
- createLocator(List<MemcachedNode>) - Method in class net.spy.memcached.KetamaConnectionFactory
-
- createMemcachedNode(SocketAddress, SocketChannel, int) - Method in class net.spy.memcached.BinaryConnectionFactory
-
- createMemcachedNode(SocketAddress, SocketChannel, int) - Method in interface net.spy.memcached.ConnectionFactory
-
Create a new memcached node.
- createMemcachedNode(SocketAddress, SocketChannel, int) - Method in class net.spy.memcached.DefaultConnectionFactory
-
- createOperationQueue() - Method in interface net.spy.memcached.ConnectionFactory
-
Create a BlockingQueue for operations for a connection.
- createOperationQueue() - Method in class net.spy.memcached.DefaultConnectionFactory
-
- createReadOperationQueue() - Method in interface net.spy.memcached.ConnectionFactory
-
Create a BlockingQueue for the operations currently expecting to read
responses from memcached.
- createReadOperationQueue() - Method in class net.spy.memcached.DefaultConnectionFactory
-
- createWriteOperationQueue() - Method in interface net.spy.memcached.ConnectionFactory
-
Create a BlockingQueue for the operations currently expecting to write
requests to memcached.
- createWriteOperationQueue() - Method in class net.spy.memcached.DefaultConnectionFactory
-