- get(String) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve a key from the server, using a specific hash.
- get(String, Integer) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve a key from the server, using a specific hash.
- get(String, Integer, boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve a key from the server, using a specific hash.
- getAliveCheck() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current status of the aliveCheck flag.
- getBucket(String, Integer) - Method in class com.danga.MemCached.SockIOPool
-
- getBuffer() - Method in class com.danga.MemCached.MemCachedClient.NIOLoader.Connection
-
- getBytes(long) - Static method in class com.danga.MemCached.NativeHandler
-
- getBytes(int) - Static method in class com.danga.MemCached.NativeHandler
-
- getChannel() - Method in class com.danga.MemCached.SockIOPool.SockIO
-
Lets caller get access to underlying channel.
- getConnection(String) - Method in class com.danga.MemCached.SockIOPool
-
Returns a SockIO object from the pool for the passed in host.
- getCounter(String) - Method in class com.danga.MemCached.MemCachedClient
-
Returns value in counter at given key as long.
- getCounter(String, Integer) - Method in class com.danga.MemCached.MemCachedClient
-
Returns value in counter at given key as long.
- getFailback() - Method in class com.danga.MemCached.SockIOPool
-
Returns current state of failover flag.
- getFailover() - Method in class com.danga.MemCached.SockIOPool
-
Returns current state of failover flag.
- getField1() - Method in class com.danga.MemCached.test.UnitTests.TestClass
-
- getField2() - Method in class com.danga.MemCached.test.UnitTests.TestClass
-
- getField3() - Method in class com.danga.MemCached.test.UnitTests.TestClass
-
- getHash(String, Integer) - Method in class com.danga.MemCached.SockIOPool
-
Returns a bucket to check for a given key.
- getHashingAlg() - Method in class com.danga.MemCached.SockIOPool
-
Returns current status of customHash flag
- getHost(String) - Method in class com.danga.MemCached.SockIOPool
-
- getHost(String, Integer) - Method in class com.danga.MemCached.SockIOPool
-
Gets the host that a particular key / hashcode resides on.
- getHost() - Method in class com.danga.MemCached.SockIOPool.SockIO
-
returns the host this socket is connected to
- getInitConn() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current setting for the initial number of connections per server in
the available pool.
- getInstance(String) - Static method in class com.danga.MemCached.SockIOPool
-
Factory to create/retrieve new pools given a unique poolName.
- getInstance() - Static method in class com.danga.MemCached.SockIOPool
-
Single argument version of factory used for back compat.
- getLevel() - Method in class com.danga.MemCached.Logger
-
- getLogger(String, int) - Static method in class com.danga.MemCached.Logger
-
Gets a Logger obj for given name and level.
- getLogger(String) - Static method in class com.danga.MemCached.Logger
-
Gets a Logger obj for given name
and sets default level.
- getMaintSleep() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current maint thread sleep time.
- getMarkerFlag(Object) - Static method in class com.danga.MemCached.NativeHandler
-
Returns the flag for marking the type of the byte array.
- getMaxBusy() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current max busy setting.
- getMaxConn() - Method in class com.danga.MemCached.SockIOPool
-
Returns the maximum number of spare connections allowed in available pool.
- getMaxIdle() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current max idle setting.
- getMinConn() - Method in class com.danga.MemCached.SockIOPool
-
Returns the minimum number of spare connections in available pool.
- getMulti(String[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple objects from the memcache.
- getMulti(String[], Integer[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple keys from the memcache.
- getMulti(String[], Integer[], boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple keys from the memcache.
- getMultiArray(String[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple objects from the memcache.
- getMultiArray(String[], Integer[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple objects from the memcache.
- getMultiArray(String[], Integer[], boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieve multiple objects from the memcache.
- getNagle() - Method in class com.danga.MemCached.SockIOPool
-
Returns current status of nagle flag
- getServers() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current list of all cache servers.
- getSock(String) - Method in class com.danga.MemCached.SockIOPool
-
Returns appropriate SockIO object given
string cache key.
- getSock(String, Integer) - Method in class com.danga.MemCached.SockIOPool
-
Returns appropriate SockIO object given
string cache key and optional hashcode.
- getSocket(String, int, int) - Static method in class com.danga.MemCached.SockIOPool.SockIO
-
Method which gets a connection from SocketChannel.
- getSocketConnectTO() - Method in class com.danga.MemCached.SockIOPool
-
Returns the socket timeout for connect.
- getSocketTO() - Method in class com.danga.MemCached.SockIOPool
-
Returns the socket timeout for reads.
- getWeights() - Method in class com.danga.MemCached.SockIOPool
-
Returns the current list of weights.
- sanitizeKey(String) - Method in class com.danga.MemCached.MemCachedClient
-
- sanitizeKeys - Variable in class com.danga.MemCached.MemCachedClient
-
- selector - Variable in class com.danga.MemCached.MemCachedClient.NIOLoader
-
- selfMaint() - Method in class com.danga.MemCached.SockIOPool
-
Runs self maintenance on all internal pools.
- SERVER_ERROR - Static variable in class com.danga.MemCached.MemCachedClient
-
- servers - Variable in class com.danga.MemCached.SockIOPool
-
- set(String, Object) - Method in class com.danga.MemCached.MemCachedClient
-
Stores data on the server; only the key and the value are specified.
- set(String, Object, Integer) - Method in class com.danga.MemCached.MemCachedClient
-
Stores data on the server; only the key and the value are specified.
- set(String, Object, Date) - Method in class com.danga.MemCached.MemCachedClient
-
Stores data on the server; the key, value, and an expiration time are specified.
- set(String, Object, Date, Integer) - Method in class com.danga.MemCached.MemCachedClient
-
Stores data on the server; the key, value, and an expiration time are specified.
- set(String, String, Object, Date, Integer, boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Stores data to cache.
- setAliveCheck(boolean) - Method in class com.danga.MemCached.SockIOPool
-
Sets the aliveCheck flag for the pool.
- setClassLoader(ClassLoader) - Method in class com.danga.MemCached.MemCachedClient
-
Sets an optional ClassLoader to be used for
serialization.
- setCompressEnable(boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Enable storing compressed data, provided it meets the threshold requirements.
- setCompressThreshold(long) - Method in class com.danga.MemCached.MemCachedClient
-
Sets the required length for data to be considered for compression.
- setDefaultEncoding(String) - Method in class com.danga.MemCached.MemCachedClient
-
Sets default String encoding when storing primitives as Strings.
- setErrorHandler(ErrorHandler) - Method in class com.danga.MemCached.MemCachedClient
-
Sets an optional ErrorHandler.
- setFailback(boolean) - Method in class com.danga.MemCached.SockIOPool
-
Sets the failback flag for the pool.
- setFailover(boolean) - Method in class com.danga.MemCached.SockIOPool
-
Sets the failover flag for the pool.
- setHashingAlg(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the hashing algorithm we will use.
- setInitConn(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the initial number of connections per server in the available pool.
- setInterval(long) - Method in class com.danga.MemCached.SockIOPool.MaintThread
-
- setLevel(int) - Method in class com.danga.MemCached.Logger
-
- setMaintSleep(long) - Method in class com.danga.MemCached.SockIOPool
-
Set the sleep time between runs of the pool maintenance thread.
- setMaxBusyTime(long) - Method in class com.danga.MemCached.SockIOPool
-
Sets the max busy time for threads in the busy pool.
- setMaxConn(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the maximum number of spare connections allowed in our available pool.
- setMaxIdle(long) - Method in class com.danga.MemCached.SockIOPool
-
Sets the max idle time for threads in the available pool.
- setMinConn(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the minimum number of spare connections to maintain in our available pool.
- setNagle(boolean) - Method in class com.danga.MemCached.SockIOPool
-
Sets the Nagle alg flag for the pool.
- setPrimitiveAsString(boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Enables storing primitive types as their String values.
- setSanitizeKeys(boolean) - Method in class com.danga.MemCached.MemCachedClient
-
Enables/disables sanitizing keys by URLEncoding.
- setServers(String[]) - Method in class com.danga.MemCached.SockIOPool
-
Sets the list of all cache servers.
- setSocketConnectTO(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the socket timeout for connect.
- setSocketTO(int) - Method in class com.danga.MemCached.SockIOPool
-
Sets the socket timeout for reads.
- setWeights(Integer[]) - Method in class com.danga.MemCached.SockIOPool
-
Sets the list of weights to apply to the server list.
- shutDown() - Method in class com.danga.MemCached.SockIOPool
-
Shuts down the pool.
- size - Variable in class com.danga.MemCached.test.MemCachedTest.bench
-
- sock - Variable in class com.danga.MemCached.MemCachedClient.NIOLoader.Connection
-
- sock - Variable in class com.danga.MemCached.SockIOPool.SockIO
-
- socketConnectTO - Variable in class com.danga.MemCached.SockIOPool
-
- socketTO - Variable in class com.danga.MemCached.SockIOPool
-
- SockIOPool - Class in com.danga.MemCached
-
This class is a connection pool for maintaning a pool of persistent connections
to memcached servers.
- SockIOPool() - Constructor for class com.danga.MemCached.SockIOPool
-
- SockIOPool.MaintThread - Class in com.danga.MemCached
-
Class which extends thread and handles maintenance of the pool.
- SockIOPool.MaintThread(SockIOPool) - Constructor for class com.danga.MemCached.SockIOPool.MaintThread
-
- SockIOPool.SockIO - Class in com.danga.MemCached
-
MemCached Java client, utility class for Socket IO.
- SockIOPool.SockIO(SockIOPool, String, int, int, int, boolean) - Constructor for class com.danga.MemCached.SockIOPool.SockIO
-
creates a new SockIO object wrapping a socket
connection to host:port, and its input and output streams
- SockIOPool.SockIO(SockIOPool, String, int, int, boolean) - Constructor for class com.danga.MemCached.SockIOPool.SockIO
-
creates a new SockIO object wrapping a socket
connection to host:port, and its input and output streams
- startMaintThread() - Method in class com.danga.MemCached.SockIOPool
-
Starts the maintenance thread.
- STATS - Static variable in class com.danga.MemCached.MemCachedClient
-
- stats() - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats for all servers.
- stats(String[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats for passed in servers (or all servers).
- stats(String[], String, String) - Method in class com.danga.MemCached.MemCachedClient
-
- statsCacheDump(int, int) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves items cachedump for all servers.
- statsCacheDump(String[], int, int) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats for passed in servers (or all servers).
- statsItems() - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats items for all servers.
- statsItems(String[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats for passed in servers (or all servers).
- statsSlabs() - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats items for all servers.
- statsSlabs(String[]) - Method in class com.danga.MemCached.MemCachedClient
-
Retrieves stats for passed in servers (or all servers).
- stopMaintThread() - Method in class com.danga.MemCached.SockIOPool
-
Stops the maintenance thread.
- stopThread - Variable in class com.danga.MemCached.SockIOPool.MaintThread
-
- stopThread() - Method in class com.danga.MemCached.SockIOPool.MaintThread
-
sets stop variable
and interupts any wait
- storeCounter(String, long) - Method in class com.danga.MemCached.MemCachedClient
-
Store a counter to memcached given a key
- storeCounter(String, Long) - Method in class com.danga.MemCached.MemCachedClient
-
Store a counter to memcached given a key
- storeCounter(String, Long, Integer) - Method in class com.danga.MemCached.MemCachedClient
-
Store a counter to memcached given a key
- STORED - Static variable in class com.danga.MemCached.MemCachedClient
-