| Interface | Description |
|---|---|
| Cache<K,V> |
The basic interface of the cache based on JSR-107(JCache)
a cache will have a named region based on String.
|
| CacheBuilder<K,V> |
The builder interface based on JSR-107(JCache) for creating a
Cache instance |
| CacheLifecycle |
Lifecycle interface of a cache based on JSR-107(JCache)
|
| CacheManager |
The interface for managing caches based on JSR-107(JCache)
|
| Commands<K,V> |
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... |
| MemcachedCache<K,V> |
| Class | Description |
|---|---|
| BufferWrapper<T> |
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) |
| ConsistentHashStore<T> |
The implementation class of the Consistent Hashing algorithms
Given keys and values will be hashed by MD5 and stored in sorted map.
|
| GrizzlyMemcachedCache<K,V> |
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> | |
| GrizzlyMemcachedCacheManager |
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 | |
| MemcachedClientFilter |
The
Filter implementation for memcached
This filter has an unbounded BlockingQueue per a connection for storing user's request. |
| MemcachedRequest |
Memcached request
response and responseStatus will be set by the filter when the response will be received. |
| MemcachedRequest.Builder | |
| MemcachedResponse |
Memcached response
Key and value will be decoded by
MemcachedResponse.setDecodedKey(org.glassfish.grizzly.Buffer, int, int, org.glassfish.grizzly.memory.MemoryManager) and MemcachedResponse.setDecodedValue(org.glassfish.grizzly.Buffer, int, int, org.glassfish.grizzly.memory.MemoryManager). |
| ValueWithCas<V> |
The result of memcached's "gets" commands
This has value and cas.
|
| ValueWithKey<K,V> |
The result of memcached's "getKey" commands
This has key and value.
|
| Enum | Description |
|---|---|
| BufferWrapper.BufferType | |
| CommandOpcodes |
Defines opcodes of the memcached's binary protocol
See http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Command_Opcodes
|
| MemcachedClientFilter.ParsingStatus | |
| ResponseStatus |
Defines response's status of the memcached's binary protocol
See http://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Response_Status
|
Copyright © 2015 Project Grizzly. All Rights Reserved.