A B C D E F G H I K L M N O P Q R S T U V W Z 

A

add(K, V, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
add(T) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Add the value such as a server name
add(K, V, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
add(K, V, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
add(K, V, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
addCustomListener(BarrierListener) - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
addServer(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Add a specific server in this cache
addServer(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
Add a specific server in this cache
addZooKeeperListener(BarrierListener) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Add the custom BarrierListener The given listener will be called after cache's default listener will be completed.
addZooKeeperListener(BarrierListener) - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Add the custom BarrierListener The given listener will be called after cache's default listener will be completed.
allowDisposableConnection(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Allow or disallow disposable connections

Default is false.

append(K, V, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
append(K, V, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
append(K, V, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
append(K, V, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 

B

BarrierListener - Interface in org.glassfish.grizzly.memcached.zookeeper
Listener interface for barrier in the zookeeper client
BaseObjectPool<K,V> - Class in org.glassfish.grizzly.memcached.pool
The basic implementation of ObjectPool for high performance and scalability Example of use: See org.glassfish.grizzly.memcached.pool.BaseObjectPoolTest's test codes This class should be thread-safe.
BaseObjectPool.Builder<K,V> - Class in org.glassfish.grizzly.memcached.pool
 
BaseObjectPool.Builder(PoolableObjectFactory<K, V>) - Constructor for class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
BaseObjectPool's builder constructor
blocking(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Enable or disable the blocking mode

If this cache manager will create a default transport, the given mode will be passed to TCPNIOTransport.

borrowObject(K, long) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Obtains an instance from this pool

Instances returned from this method will have been either newly created with createObject or will be a previously idle object and then validated with validateObject.

borrowObject(K, long) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Obtains an instance from this pool

Instances returned from this method will have been either newly created with createObject or will be a previously idle object and then validated with validateObject.

borrowValidation(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Enable or disable the connection validation when the connection is borrowed from the connection pool

Default is false.

borrowValidation(boolean) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the user

Default is false.

BufferWrapper<T> - Class in org.glassfish.grizzly.memcached
Simple wrapper class for Buffer, which has original message origin, original object type BufferWrapper.BufferType and converted Buffer

Messages which should be sent to the remote peer via network will be always converted into Buffer instance by BufferWrapper.wrap(T, org.glassfish.grizzly.memory.MemoryManager), and the received packet will be always restored to its original messages by BufferWrapper.unwrap(org.glassfish.grizzly.Buffer, org.glassfish.grizzly.memcached.BufferWrapper.BufferType, org.glassfish.grizzly.memory.MemoryManager)

BufferWrapper.BufferType - Enum in org.glassfish.grizzly.memcached
 
build() - Method in interface org.glassfish.grizzly.memcached.CacheBuilder
Create an instance of the named Cache.
build() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Create an instance of the named Cache.
build() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Create a GrizzlyMemcachedCacheManager instance with this builder's properties
build() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
build() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Create an ObjectPool instance with this builder's properties
build() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
Build a ZKClient

C

Cache<K,V> - Interface in org.glassfish.grizzly.memcached
The basic interface of the cache based on JSR-107(JCache)

a cache will have a named region based on String.

cache - Variable in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
CacheBuilder<K,V> - Interface in org.glassfish.grizzly.memcached
The builder interface based on JSR-107(JCache) for creating a Cache instance
CacheLifecycle - Interface in org.glassfish.grizzly.memcached
Lifecycle interface of a cache based on JSR-107(JCache)
CacheManager - Interface in org.glassfish.grizzly.memcached
The interface for managing caches based on JSR-107(JCache)
cacheName - Variable in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
CacheServerListBarrierListener - Class in org.glassfish.grizzly.memcached.zookeeper
The BarrierListener implementation for synchronizing the cache server list among all clients which have joined the same zookeeper server
CacheServerListBarrierListener(MemcachedCache, Set<SocketAddress>) - Constructor for class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
cas(K, V, int, long, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
cas(K, V, int, long, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
cas(K, V, int, long, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
cas(K, V, int, long, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
cas(long) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
casMulti(Map<K, ValueWithCas<V>>, int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
casMulti(Map<K, ValueWithCas<V>>, int, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
casMulti(Map<K, ValueWithCas<V>>, int) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
casMulti(Map<K, ValueWithCas<V>>, int, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
clear() - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Clear all values and keys
clear() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
CommandOpcodes - Enum in org.glassfish.grizzly.memcached
Defines opcodes of the memcached's binary protocol

See http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Command_Opcodes

Commands<K,V> - Interface in org.glassfish.grizzly.memcached
Defines basic commands of the memcached See http://code.google.com/p/memcached/wiki/NewCommands and http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped And the noReply parameter means memcached's quiet command such as GetQ, SetQ and etc...
commitDelayTimeInSecs(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
Delay time in seconds for committing
complete() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
connect() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
Connect this client to the zookeeper server

this method will wait for Watcher.Event.KeeperState#SyncConnected from the zookeeper server.

CONNECTION_POOL_ATTRIBUTE_NAME - Static variable in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
connectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set global connect-timeout

If the given param is negative, the timeout is infite.

connectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
Connect timeout in milli-seconds
ConsistentHashStore<T> - Class in org.glassfish.grizzly.memcached
The implementation class of the Consistent Hashing algorithms

Given keys and values will be hashed by MD5 and stored in sorted map.

ConsistentHashStore() - Constructor for class org.glassfish.grizzly.memcached.ConsistentHashStore
 
create(boolean, boolean, boolean) - Static method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
create() - Static method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
create(String, byte[], List<ACL>, CreateMode) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
create(String, String) - Static method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
The specific name or Id for ZKClient
createAllMinObjects(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Create objects using the factory until pool's minimum size, and then place them in the idle object pool

createAllMinObjects is useful for "pre-loading" a pool with idle objects.

createAllMinObjects(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Create objects using the factory until pool's minimum size, and then place them in the idle object pool

createAllMinObjects is useful for "pre-loading" a pool with idle objects.

createCacheBuilder(String) - Method in interface org.glassfish.grizzly.memcached.CacheManager
Creates a new CacheBuilder for the named cache to be managed by this cache manager.
createCacheBuilder(String) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager
Creates a new CacheBuilder for the named cache to be managed by this cache manager.
createObject(K) - Method in interface org.glassfish.grizzly.memcached.pool.PoolableObjectFactory
Create an instance that can be served by the pool

D

dataType(byte) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
decr(K, long, long, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
decr(K, long, long, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
decr(K, long, long, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
decr(K, long, long, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
DEFAULT_COMPRESSION_THRESHOLD - Static variable in class org.glassfish.grizzly.memcached.BufferWrapper
 
DEFAULT_SERVER_LIST_CHARSET - Static variable in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
delete(K, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
delete(K, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
delete(K, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
delete(K, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
delete the item with the given key in memcached
delete(String, int) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
deleteMulti(Set<K>) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
deleteMulti(Set<K>, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
deleteMulti(Set<K>) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
deleteMulti(Set<K>, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
delta(Long) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
destroy(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Destroy the specified pool, removing all pooled instances, mapping key and statistics corresponding to the given key

After destroying, ObjectPool.borrowObject(K, long) with the given key will be failed.

destroy() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Destroy this pool, and free any resources associated with it

Calling other methods such as createAllMinObjects or borrowObject, returnObject or removeObject or removeAllObjects after invoking this method on a pool will cause them to throw an IllegalStateException.

destroy(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Destroy the specified pool, removing all pooled instances, mapping key and statistics corresponding to the given key

After destroying, ObjectPool.borrowObject(K, long) with the given key will be failed.

destroy() - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Destroy this pool, and free any resources associated with it

Calling other methods such as createAllMinObjects or borrowObject, returnObject or removeObject or removeAllObjects after invoking this method on a pool will cause them to throw an IllegalStateException.

destroyObject(K, V) - Method in interface org.glassfish.grizzly.memcached.pool.PoolableObjectFactory
Destroy an instance no longer needed by the pool
disposable(boolean) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set disposable property

If this pool is bounded and doesn't have idle objects any more, temporary object will be returned to the user if disposable is true.

E

exists(String, boolean) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
exists(String, Watcher) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
expirationInSecs(Integer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 

F

failover(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Enable or disable failover/failback

Default is true.

fillExtras(Buffer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
flags - Variable in enum org.glassfish.grizzly.memcached.BufferWrapper.BufferType
 
flags(Integer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
flushAll(SocketAddress, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
flushAll(SocketAddress, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
flushAll(SocketAddress, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
flushAll(SocketAddress, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 

G

gat(K, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
gat(K, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
gat(K, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
gat(K, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
get(K, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
get(String) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Get the value corresponding to the given key
get(byte[]) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Get the value corresponding to the given key
get(ByteBuffer) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Get the value corresponding to the given key
get(K, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
get(K, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
get(K, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getActiveCount(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Returns the number of instances currently borrowed from but not yet returned to the pool
getActiveCount(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Returns the number of instances currently borrowed from but not yet returned to the pool
getAddressesFromStringList(String) - Static method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
Split a string in the form of "host:port, host2:port" into a Set of SocketAddress instances.
getBuffer() - Method in class org.glassfish.grizzly.memcached.BufferWrapper
Return buffer corresponding to original object
getBufferType(int) - Static method in enum org.glassfish.grizzly.memcached.BufferWrapper.BufferType
 
getCache(String) - Method in interface org.glassfish.grizzly.memcached.CacheManager
Looks up a named cache.
getCache(String) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager
Looks up a named cache.
getCas() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getCas() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getCas() - Method in class org.glassfish.grizzly.memcached.ValueWithCas
 
getChildren(String, boolean) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
getChildren(String, Watcher) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
getCommitDelayTimeInSecs() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
getConnectTimeoutInMillis() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
getCorrelatedResponse(Connection, MemcachedRequest, long) - Method in class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
getCurrentServerList() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Get current server list
getCurrentServerList() - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
Get current server list
getCurrentServerListFromZooKeeper() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Return the current cache server list string from the ZooKeeper server
getCurrentServerListFromZooKeeper() - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Return the current cache server list string from the ZooKeeper server
getData(String, boolean, Stat) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
getData(String, Watcher) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
getDataType() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getDataType() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getDecodedKey() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getDecodedValue() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getDelta() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getExpirationInSecs() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getExtraLength() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getExtrasLength() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getFlags() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getFlags() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getIdleCount(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Returns the number of instances currently idle in this pool
getIdleCount(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Returns the number of instances currently idle in this pool
getInitial() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getKeepAliveTimeoutInSecs() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
getKey(K, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
getKey(K, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getKey(K, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getKey(K, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getKey() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getKey() - Method in class org.glassfish.grizzly.memcached.ValueWithKey
 
getKeyLength() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getKeyLength() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getMax() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
getMin() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
getMulti(Set<K>) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getMulti(Set<K>, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getMulti(Set<K>) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getMulti(Set<K>, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getMultiResponse(Connection, MemcachedRequest[], long, Map<K, V>) - Method in class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
getName() - Method in interface org.glassfish.grizzly.memcached.Cache
Return the name of the cache.
getName() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Return the name of the cache.
getName() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
getOp() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getOp() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getOpaque() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getOpaque() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getOrigin() - Method in class org.glassfish.grizzly.memcached.BufferWrapper
Return original object
getOriginKey() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getOriginKeyType() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getPeakCount(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Returns the total peak number of instances
getPeakCount(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Returns the total peak number of instances
getPoolSize(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Returns the total number of instances
getPoolSize(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Returns the total number of instances
getResponseStatus(short) - Static method in enum org.glassfish.grizzly.memcached.ResponseStatus
 
getResult() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getRootPath() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
gets(K, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
gets(K, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
gets(K, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
gets(K, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getSessionTimeoutInMillis() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
getsMulti(Set<K>) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getsMulti(Set<K>, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
getsMulti(Set<K>) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getsMulti(Set<K>, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
getStatus() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getStringListFromAddressSet(Set<SocketAddress>) - Static method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
Convert server set into server list like "host:port,host2:port"
getTotalBodyLength() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
getType() - Method in class org.glassfish.grizzly.memcached.BufferWrapper
Return original object's type
getValue() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getValue() - Method in class org.glassfish.grizzly.memcached.ValueWithCas
 
getValue() - Method in class org.glassfish.grizzly.memcached.ValueWithKey
 
getValueLength() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getvBucketId() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getVerbosity() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
getZooKeeperServerList() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
getZooKeeperServerListPath() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Return the path of the cache server list which has been registered in the ZooKeeper server
getZooKeeperServerListPath() - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Return the path of the cache server list which has been registered in the ZooKeeper server
GrizzlyMemcachedCache<K,V> - Class in org.glassfish.grizzly.memcached
The implementation of the MemcachedCache based on Grizzly

Basically, this class use BaseObjectPool for pooling connections of the memcached server and ConsistentHashStore for selecting the memcached server corresponding to the given key.

GrizzlyMemcachedCache.Builder<K,V> - Class in org.glassfish.grizzly.memcached
 
GrizzlyMemcachedCache.Builder(String, GrizzlyMemcachedCacheManager, TCPNIOTransport) - Constructor for class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
 
GrizzlyMemcachedCacheManager - Class in org.glassfish.grizzly.memcached
The implementation of the CacheManager based on Grizzly

This cache manager has a key(String cache name)/value(GrizzlyMemcachedCache map for retrieving caches.

GrizzlyMemcachedCacheManager.Builder - Class in org.glassfish.grizzly.memcached
 
GrizzlyMemcachedCacheManager.Builder() - Constructor for class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
 

H

handleClose(FilterChainContext) - Method in class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
handleRead(FilterChainContext) - Method in class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
handleWrite(FilterChainContext) - Method in class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
hasExtras() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
hasKey() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
hasValue(T) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Check if this store has value
hasValue() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
healthMonitorIntervalInSecs(long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set health monitor's interval

This cache will schedule HealthMonitorTask with this interval.

I

incr(K, long, long, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
incr(K, long, long, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
incr(K, long, long, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
incr(K, long, long, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
initial(Long) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
ioStrategy(IOStrategy) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Set the specific IO Strategy of Grizzly

If this cache manager will create a default transport, the given IOStrategy will be passed to TCPNIOTransport.

isBorrowValidation() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
isDisposable() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
isError() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
isInServerList(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Check if this cache contains the given server
isInServerList(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
Check if this cache contains the given server
isNoReply() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
isReturnValidation() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
isZooKeeperSupported() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Check if this cache supports the ZooKeeper for synchronizing the cache server list
isZooKeeperSupported() - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Check if this cache supports the ZooKeeper for synchronizing the cache server list

K

keepAliveTimeoutInSecs(long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set connection pool's KeepAliveTimeout

Default is 1800.

keepAliveTimeoutInSecs(long) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set the KeepAliveTimeout of this pool

This pool will schedule EvictionTask with this interval.

key(Buffer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 

L

localCacheServerSet - Variable in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 

M

max(int) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set maximum size of this pool

Default is unbounded as Integer.MAX_VALUE.

maxConnectionPerServer(int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set connection pool's max

Default is Integer.MAX_VALUE

MemcachedCache<K,V> - Interface in org.glassfish.grizzly.memcached
The memcached's cache interface

This interface extends Commands and Cache and has methods related to operation timeout.

MemcachedClientFilter - Class in org.glassfish.grizzly.memcached
The Filter implementation for memcached

This filter has an unbounded BlockingQueue per a connection for storing user's request.

MemcachedClientFilter() - Constructor for class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
MemcachedClientFilter(boolean, boolean) - Constructor for class org.glassfish.grizzly.memcached.MemcachedClientFilter
 
MemcachedClientFilter.ParsingStatus - Enum in org.glassfish.grizzly.memcached
 
MemcachedRequest - Class in org.glassfish.grizzly.memcached
Memcached request

response and responseStatus will be set by the filter when the response will be received.

MemcachedRequest.Builder - Class in org.glassfish.grizzly.memcached
 
MemcachedResponse - Class in org.glassfish.grizzly.memcached
message() - Method in enum org.glassfish.grizzly.memcached.ResponseStatus
 
min(int) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set minimum size of this pool

Default is 5.

minConnectionPerServer(int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set connection pool's min

Default is 5.

N

noop(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.Commands
 
noop(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
noop(SocketAddress, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
noop(SocketAddress, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
noReply(boolean) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
NoValidObjectException - Exception in org.glassfish.grizzly.memcached.pool
This exception will be thrown when the pool cannot create a new instance by PoolableObjectFactory.createObject(K) or there are no valid instances which used to be tested by PoolableObjectFactory.validateObject(K, V)
NoValidObjectException() - Constructor for exception org.glassfish.grizzly.memcached.pool.NoValidObjectException
 
NoValidObjectException(String) - Constructor for exception org.glassfish.grizzly.memcached.pool.NoValidObjectException
 
NoValidObjectException(String, Throwable) - Constructor for exception org.glassfish.grizzly.memcached.pool.NoValidObjectException
 
NoValidObjectException(Throwable) - Constructor for exception org.glassfish.grizzly.memcached.pool.NoValidObjectException
 

O

ObjectPool<K,V> - Interface in org.glassfish.grizzly.memcached.pool
Keyed object pooling interface ObjectPool interface mainly defines borrowObject, returnObject and removeObject.
onCommit(String, String, byte[]) - Method in interface org.glassfish.grizzly.memcached.zookeeper.BarrierListener
Called by zookeeper clients at the same time when all are prepared for commiting something
onCommit(String, String, byte[]) - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
onDestroy(String) - Method in interface org.glassfish.grizzly.memcached.zookeeper.BarrierListener
Called when the barrier is unregistered
onDestroy(String) - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
onInit(String, String, byte[]) - Method in interface org.glassfish.grizzly.memcached.zookeeper.BarrierListener
Called when the barrier is registered
onInit(String, String, byte[]) - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
onInit(String, String, byte[]) - Method in class org.glassfish.grizzly.memcached.zookeeper.PreferRemoteConfigBarrierListener
 
op(CommandOpcodes) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
opaque(int) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
opcode() - Method in enum org.glassfish.grizzly.memcached.CommandOpcodes
 
org.glassfish.grizzly.memcached - package org.glassfish.grizzly.memcached
 
org.glassfish.grizzly.memcached.pool - package org.glassfish.grizzly.memcached.pool
 
org.glassfish.grizzly.memcached.zookeeper - package org.glassfish.grizzly.memcached.zookeeper
 
originKey(Object) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
originKeyType(BufferWrapper.BufferType) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 

P

PoolableObjectFactory<K,V> - Interface in org.glassfish.grizzly.memcached.pool
An interface defining life-cycle methods for instances to be served by a ObjectPool

By contract, when an ObjectPool delegates to a PoolableObjectFactory, createObject is called whenever a new instance is needed.

PoolExhaustedException - Exception in org.glassfish.grizzly.memcached.pool
This exception will be thrown when the pool is exhausted and cannot or will not borrow another instance
PoolExhaustedException() - Constructor for exception org.glassfish.grizzly.memcached.pool.PoolExhaustedException
 
PoolExhaustedException(String) - Constructor for exception org.glassfish.grizzly.memcached.pool.PoolExhaustedException
 
PoolExhaustedException(String, Throwable) - Constructor for exception org.glassfish.grizzly.memcached.pool.PoolExhaustedException
 
PoolExhaustedException(Throwable) - Constructor for exception org.glassfish.grizzly.memcached.pool.PoolExhaustedException
 
preferRemoteConfig(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
 
PreferRemoteConfigBarrierListener - Class in org.glassfish.grizzly.memcached.zookeeper
 
PreferRemoteConfigBarrierListener(MemcachedCache, Set<SocketAddress>) - Constructor for class org.glassfish.grizzly.memcached.zookeeper.PreferRemoteConfigBarrierListener
 
prepend(K, V, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
prepend(K, V, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
prepend(K, V, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
prepend(K, V, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 

Q

quit(SocketAddress, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
quit(SocketAddress, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
quit(SocketAddress, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
quit(SocketAddress, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 

R

recycle() - Method in class org.glassfish.grizzly.memcached.BufferWrapper
 
recycle() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
recycle() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
registerBarrier(String, BarrierListener, byte[]) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
Register the specific barrier
remove(T) - Method in class org.glassfish.grizzly.memcached.ConsistentHashStore
Remove the value which already added by ConsistentHashStore.add(T)
removeAllObjects(K) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key
removeAllObjects(K) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Clears the specified pool, removing all pooled instances corresponding to the given key
removeCache(String) - Method in interface org.glassfish.grizzly.memcached.CacheManager
Remove a cache from the CacheManager.
removeCache(String) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager
Remove a cache from the CacheManager.
removeCustomListener(BarrierListener) - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
removeObject(K, V) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Removes(invalidates) an object from the pool

By contract, value should have been obtained using borrowObject using a key that is equivalent to the one used to borrow the instance in the first place.

removeObject(K, V) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Removes(invalidates) an object from the pool

By contract, value should have been obtained using borrowObject using a key that is equivalent to the one used to borrow the instance in the first place.

removeServer(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Remove the given server in this cache
removeServer(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
Remove the given server in this cache
removeZooKeeperListener(BarrierListener) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Remove the custom BarrierListener The given listener will be called after cache's default listener will be completed.
removeZooKeeperListener(BarrierListener) - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Remove the custom BarrierListener The given listener will be called after cache's default listener will be completed.
replace(K, V, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
replace(K, V, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
replace(K, V, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
replace(K, V, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
ResponseStatus - Enum in org.glassfish.grizzly.memcached
Defines response's status of the memcached's binary protocol

See http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Response_Status

responseTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set global response-timeout

If the given param is negative, the timeout is infite.

retryCount(int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Deprecated.
not supported anymore
returnObject(K, V) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
Return an instance to the pool

By contract, value should have been obtained using borrowObject using a key that is equivalent to the one used to borrow the instance in the first place.

returnObject(K, V) - Method in interface org.glassfish.grizzly.memcached.pool.ObjectPool
Return an instance to the pool

By contract, value should have been obtained using borrowObject using a key that is equivalent to the one used to borrow the instance in the first place.

returnValidation(boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Enable or disable the connection validation when the connection is returned to the connection pool

Default is false.

returnValidation(boolean) - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool.Builder
Set whether this pool should validate the object by PoolableObjectFactory.validateObject(K, V) before returning a borrowed object to the pool

Default is false.

rootPath(String) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
Root path for ZKClient

S

saslAuth(SocketAddress, String, byte[]) - Method in interface org.glassfish.grizzly.memcached.Commands
 
saslAuth(SocketAddress, String, byte[]) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslAuth(SocketAddress, String, byte[], long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslAuth(SocketAddress, String, byte[], long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
saslList(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.Commands
 
saslList(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslList(SocketAddress, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslList(SocketAddress, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
saslStep(SocketAddress, String, byte[]) - Method in interface org.glassfish.grizzly.memcached.Commands
 
saslStep(SocketAddress, String, byte[]) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslStep(SocketAddress, String, byte[], long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
saslStep(SocketAddress, String, byte[], long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
selectorRunnersCount(int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Set selector threads' count

If this cache manager will create a default transport, the given selector counts will be passed to TCPNIOTransport.

servers(Set<SocketAddress>) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set initial servers
sessionTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
Session timeout in milli-seconds
set(K, V, int, boolean) - Method in interface org.glassfish.grizzly.memcached.Commands
 
set(K, V, int, boolean) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
set(K, V, int, boolean, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
set(K, V, int, boolean, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
setCas(long) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setCommitDelayTimeInSecs(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
Delay time in seconds for committing
setConnectTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
Connect timeout in milli-seconds
setCurrentServerListOfZooKeeper(String) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Set the current cache server list string with the given cacheServerList

cacheServerList could be comma separated host:port pairs, each corresponding to a memcached server.

setCurrentServerListOfZooKeeper(String) - Method in interface org.glassfish.grizzly.memcached.zookeeper.ZooKeeperSupportCache
Set the current cache server list string with the given cacheServerList

cacheServerList could be comma separated host:port pairs, each corresponding to a memcached server.

setData(String, byte[], int) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
setDataType(byte) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setDecodedKey(Buffer, int, int, MemoryManager) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setDecodedKey(Object) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setDecodedValue(Buffer, int, int, MemoryManager) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setDecodedValue(Object) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setExtraLength(byte) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setFlags(int) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setKeyLength(short) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setMulti(Map<K, V>, int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
setMulti(Map<K, V>, int, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
setMulti(Map<K, V>, int) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
setMulti(Map<K, V>, int, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
setOp(CommandOpcodes) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setOpaque(int) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setResult(K, MemcachedClientFilter.ParsingStatus) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setRootPath(String) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
Root path for ZKClient
setSessionTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
Session timeout in milli-seconds
setStatus(ResponseStatus) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
setTotalBodyLength(int) - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
shutdown() - Method in interface org.glassfish.grizzly.memcached.CacheManager
Shuts down the CacheManager.
shutdown() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager
Shuts down the CacheManager.
shutdown() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
Close this client
start() - Method in interface org.glassfish.grizzly.memcached.CacheLifecycle
Notifies providers to start themselves.
start() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Notifies providers to start themselves.
stats(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.Commands
 
stats(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
stats(SocketAddress, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
stats(SocketAddress, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
statsItems(SocketAddress, String) - Method in interface org.glassfish.grizzly.memcached.Commands
 
statsItems(SocketAddress, String) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
statsItems(SocketAddress, String, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
statsItems(SocketAddress, String, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
status() - Method in enum org.glassfish.grizzly.memcached.ResponseStatus
 
stop() - Method in interface org.glassfish.grizzly.memcached.CacheLifecycle
Providers may be doing all sorts of exotic things and need to be able to clean up on stop.
stop() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
Providers may be doing all sorts of exotic things and need to be able to clean up on stop.

T

toString() - Method in class org.glassfish.grizzly.memcached.BufferWrapper
 
toString() - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
toString() - Method in class org.glassfish.grizzly.memcached.MemcachedRequest
 
toString() - Method in class org.glassfish.grizzly.memcached.MemcachedResponse
 
toString() - Method in class org.glassfish.grizzly.memcached.pool.BaseObjectPool
 
toString() - Method in class org.glassfish.grizzly.memcached.ValueWithCas
 
toString() - Method in class org.glassfish.grizzly.memcached.ValueWithKey
 
toString() - Method in class org.glassfish.grizzly.memcached.zookeeper.CacheServerListBarrierListener
 
toString() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
 
toString() - Method in class org.glassfish.grizzly.memcached.zookeeper.ZooKeeperConfig
 
touch(K, int) - Method in interface org.glassfish.grizzly.memcached.Commands
 
touch(K, int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
touch(K, int, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
touch(K, int, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
transport(TCPNIOTransport) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Set the specific GrizzlyTransport

If this is not set or set to be null, GrizzlyMemcachedCacheManager will create a default transport.

U

unregisterBarrier(String) - Method in class org.glassfish.grizzly.memcached.zookeeper.ZKClient
unwrap(Buffer, BufferWrapper.BufferType, MemoryManager) - Static method in class org.glassfish.grizzly.memcached.BufferWrapper
Return the original instance from buffer
unwrap(Buffer, int, int, BufferWrapper.BufferType, MemoryManager) - Static method in class org.glassfish.grizzly.memcached.BufferWrapper
Return the original instance from buffer

V

validateObject(K, V) - Method in interface org.glassfish.grizzly.memcached.pool.PoolableObjectFactory
Ensures that the instance is safe to be borrowed and returned by the pool
value(Buffer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
valueOf(String) - Static method in enum org.glassfish.grizzly.memcached.BufferWrapper.BufferType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.grizzly.memcached.CommandOpcodes
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.grizzly.memcached.MemcachedClientFilter.ParsingStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.glassfish.grizzly.memcached.ResponseStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.glassfish.grizzly.memcached.BufferWrapper.BufferType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.grizzly.memcached.CommandOpcodes
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.grizzly.memcached.MemcachedClientFilter.ParsingStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.glassfish.grizzly.memcached.ResponseStatus
Returns an array containing the constants of this enum type, in the order they are declared.
ValueWithCas<V> - Class in org.glassfish.grizzly.memcached
The result of memcached's "gets" commands

This has value and cas.

ValueWithCas(V, long) - Constructor for class org.glassfish.grizzly.memcached.ValueWithCas
 
ValueWithKey<K,V> - Class in org.glassfish.grizzly.memcached
The result of memcached's "getKey" commands

This has key and value.

ValueWithKey(K, V) - Constructor for class org.glassfish.grizzly.memcached.ValueWithKey
 
vBucketId(short) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
verbosity(SocketAddress, int) - Method in interface org.glassfish.grizzly.memcached.Commands
 
verbosity(SocketAddress, int) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
verbosity(SocketAddress, int, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
verbosity(SocketAddress, int, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 
verbosity(Integer) - Method in class org.glassfish.grizzly.memcached.MemcachedRequest.Builder
 
version(SocketAddress) - Method in interface org.glassfish.grizzly.memcached.Commands
 
version(SocketAddress) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
version(SocketAddress, long, long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache
 
version(SocketAddress, long, long) - Method in interface org.glassfish.grizzly.memcached.MemcachedCache
 

W

workerThreadPool(ExecutorService) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Set the specific worker thread pool

If this cache manager will create a default transport, the given ExecutorService will be passed to TCPNIOTransport.

wrap(T, MemoryManager) - Static method in class org.glassfish.grizzly.memcached.BufferWrapper
Return BufferWrapper instance from original object
writeTimeoutInMillis(long) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCache.Builder
Set global write-timeout

If the given param is negative, the timeout is infite.

Z

ZKClient - Class in org.glassfish.grizzly.memcached.zookeeper
Zookeeper client implementation for barrier and recoverable operation

All operations will be executed on the valid connection because the failed connection will be reconnected automatically.

ZKClient.Builder - Class in org.glassfish.grizzly.memcached.zookeeper
Builder for ZKClient
ZKClient.Builder(String, String) - Constructor for class org.glassfish.grizzly.memcached.zookeeper.ZKClient.Builder
The specific name or Id for ZKClient
zooKeeperConfig(ZooKeeperConfig) - Method in class org.glassfish.grizzly.memcached.GrizzlyMemcachedCacheManager.Builder
Set the ZooKeeperConfig for synchronizing cache server list among cache clients
ZooKeeperConfig - Class in org.glassfish.grizzly.memcached.zookeeper
The configuration for ZooKeeper client

Example of use: final GrizzlyMemcachedCacheManager.Builder managerBuilder = new GrizzlyMemcachedCacheManager.Builder(); // setup zookeeper server final ZooKeeperConfig zkConfig = ZooKeeperConfig.create("cache-manager", DEFAULT_ZOOKEEPER_ADDRESS); zkConfig.setRootPath(ROOT); zkConfig.setConnectTimeoutInMillis(3000); zkConfig.setSessionTimeoutInMillis(30000); zkConfig.setCommitDelayTimeInSecs(2); managerBuilder.zooKeeperConfig(zkConfig); // create a cache manager final GrizzlyMemcachedCacheManager manager = managerBuilder.build(); final GrizzlyMemcachedCache.Builder<String, String> cacheBuilder = manager.createCacheBuilder("user"); // setup memcached servers final Set<SocketAddress> memcachedServers = new HashSet<SocketAddress>(); memcachedServers.add(MEMCACHED_ADDRESS1); memcachedServers.add(MEMCACHED_ADDRESS2); cacheBuilder.servers(memcachedServers); // create a user cache final GrizzlyMemcachedCache<String, String> cache = cacheBuilder.build(); // ... // clean manager.removeCache("user"); manager.shutdown();

ZooKeeperSupportCache - Interface in org.glassfish.grizzly.memcached.zookeeper
The interface using the ZooKeeper for synchronizing cache server list

Example of use: final GrizzlyMemcachedCacheManager.Builder managerBuilder = new GrizzlyMemcachedCacheManager.Builder(); // setup zookeeper server final ZooKeeperConfig zkConfig = ZooKeeperConfig.create("cache-manager", DEFAULT_ZOOKEEPER_ADDRESS); zkConfig.setRootPath(ROOT); zkConfig.setConnectTimeoutInMillis(3000); zkConfig.setSessionTimeoutInMillis(30000); zkConfig.setCommitDelayTimeInSecs(2); managerBuilder.zooKeeperConfig(zkConfig); // create a cache manager final GrizzlyMemcachedCacheManager manager = managerBuilder.build(); final GrizzlyMemcachedCache.Builder<String, String> cacheBuilder = manager.createCacheBuilder("user"); // setup memcached servers final Set<SocketAddress> memcachedServers = new HashSet<SocketAddress>(); memcachedServers.add(MEMCACHED_ADDRESS1); memcachedServers.add(MEMCACHED_ADDRESS2); cacheBuilder.servers(memcachedServers); // create a user cache final GrizzlyMemcachedCache<String, String> cache = cacheBuilder.build(); // ZooKeeperSupportCache's basic operations if (cache.isZooKeeperSupported()) { final String serverListPath = cache.getZooKeeperServerListPath(); final String serverList = cache.getCurrentServerListFromZooKeeper(); cache.setCurrentServerListOfZooKeeper("localhost:11211,localhost:11212"); } // ... // clean manager.removeCache("user"); manager.shutdown();

A B C D E F G H I K L M N O P Q R S T U V W Z 

Copyright © 2015 Project Grizzly. All Rights Reserved.