|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use OperationFuture | |
|---|---|
| net.spy.memcached | Memcached client and transformation utils |
| Uses of OperationFuture in net.spy.memcached |
|---|
| Methods in net.spy.memcached that return OperationFuture | ||
|---|---|---|
OperationFuture<Boolean> |
MemcachedClient.add(String key,
int exp,
Object o)
Add an object to the cache (using the default transcoder) iff it does not exist already. |
|
|
MemcachedClient.add(String key,
int exp,
T o,
Transcoder<T> tc)
Add an object to the cache iff it does not exist already. |
|
OperationFuture<Boolean> |
MemcachedClient.append(long cas,
String key,
Object val)
Append to an existing value in the cache. |
|
|
MemcachedClient.append(long cas,
String key,
T val,
Transcoder<T> tc)
Append to an existing value in the cache. |
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
int by)
Asynchronous decrement. |
|
OperationFuture<CASValue<Object>> |
MemcachedClient.asyncGetAndLock(String key,
int exp)
Get and lock the given key asynchronously and decode with the default transcoder. |
|
|
MemcachedClient.asyncGetAndLock(String key,
int exp,
Transcoder<T> tc)
Gets and locks the given key asynchronously. |
|
OperationFuture<CASValue<Object>> |
MemcachedClient.asyncGetAndTouch(String key,
int exp)
Get the given key to reset its expiration time. |
|
|
MemcachedClient.asyncGetAndTouch(String key,
int exp,
Transcoder<T> tc)
Get the given key to reset its expiration time. |
|
OperationFuture<CASValue<Object>> |
MemcachedClient.asyncGets(String key)
Gets (with CAS support) the given key asynchronously and decode using the default transcoder. |
|
|
MemcachedClient.asyncGets(String key,
Transcoder<T> tc)
Gets (with CAS support) the given key asynchronously. |
|
OperationFuture<Long> |
MemcachedClient.asyncIncr(String key,
int by)
Asychronous increment. |
|
OperationFuture<Boolean> |
MemcachedClient.delete(String key)
Delete the given key from the cache. |
|
OperationFuture<Boolean> |
MemcachedClient.delete(String key,
int hold)
Deprecated. Hold values are no longer honored. |
|
OperationFuture<Boolean> |
MemcachedClient.flush()
Flush all caches from all servers immediately. |
|
OperationFuture<Boolean> |
MemcachedClient.flush(int delay)
Flush all caches from all servers with a delay of application. |
|
OperationFuture<Boolean> |
MemcachedClient.prepend(long cas,
String key,
Object val)
Prepend to an existing value in the cache. |
|
|
MemcachedClient.prepend(long cas,
String key,
T val,
Transcoder<T> tc)
Prepend to an existing value in the cache. |
|
OperationFuture<Boolean> |
MemcachedClient.replace(String key,
int exp,
Object o)
Replace an object with the given value (transcoded with the default transcoder) iff there is already a value for the given key. |
|
|
MemcachedClient.replace(String key,
int exp,
T o,
Transcoder<T> tc)
Replace an object with the given value iff there is already a value for the given key. |
|
OperationFuture<Boolean> |
MemcachedClient.set(String key,
int exp,
Object o)
Set an object in the cache (using the default transcoder) regardless of any existing value. |
|
|
MemcachedClient.set(String key,
int exp,
T o,
Transcoder<T> tc)
Set an object in the cache regardless of any existing value. |
|
|
MemcachedClient.touch(String key,
int exp)
Touch the given key to reset its expiration time with the default transcoder. |
|
|
MemcachedClient.touch(String key,
int exp,
Transcoder<T> tc)
Touch the given key to reset its expiration time. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||