Package | Description |
---|---|
net.spy.memcached |
Memcached client and transformation utils
|
net.spy.memcached.internal |
Internal utilities.
|
Modifier and Type | Method and Description |
---|---|
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.
|
<T> OperationFuture<Boolean> |
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.
|
<T> OperationFuture<Boolean> |
MemcachedClient.append(long cas,
String key,
T val,
Transcoder<T> tc)
Append to an existing value in the cache.
|
OperationFuture<Boolean> |
MemcachedClient.append(String key,
Object val)
Append to an existing value in the cache.
|
<T> OperationFuture<Boolean> |
MemcachedClient.append(String key,
T val,
Transcoder<T> tc)
Append to an existing value in the cache.
|
OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(String key,
long casId,
int exp,
Object value)
Asynchronous CAS operation using the default transcoder with expiration.
|
<T> OperationFuture<CASResponse> |
MemcachedClientIF.asyncCAS(String key,
long casId,
int exp,
T value,
Transcoder<T> tc) |
<T> OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(String key,
long casId,
int exp,
T value,
Transcoder<T> tc)
Asynchronous CAS operation.
|
OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(String key,
long casId,
Object value)
Asynchronous CAS operation using the default transcoder.
|
<T> OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(String key,
long casId,
T value,
Transcoder<T> tc)
Asynchronous CAS operation.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
int by)
Asynchronous decrement.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
int by,
long def)
Asynchronous decrement.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
int by,
long def,
int exp)
Asynchronous decrement.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
long by)
Asynchronous decrement.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
long by,
long def)
Asynchronous decrement.
|
OperationFuture<Long> |
MemcachedClient.asyncDecr(String key,
long by,
long def,
int exp)
Asynchronous decrement.
|
OperationFuture<CASValue<Object>> |
MemcachedClient.asyncGetAndTouch(String key,
int exp)
Get the given key to reset its expiration time.
|
<T> OperationFuture<CASValue<T>> |
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.
|
<T> OperationFuture<CASValue<T>> |
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<Long> |
MemcachedClient.asyncIncr(String key,
int by,
long def)
Asychronous increment.
|
OperationFuture<Long> |
MemcachedClient.asyncIncr(String key,
int by,
long def,
int exp)
Asychronous increment.
|
OperationFuture<Long> |
MemcachedClient.asyncIncr(String key,
long by)
Asychronous increment.
|
OperationFuture<Long> |
MemcachedClient.asyncIncr(String key,
long by,
long def)
Asychronous increment.
|
OperationFuture<Long> |
MemcachedClient.asyncIncr(String key,
long by,
long def,
int exp)
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.delete(String key,
long cas)
Delete the given key from the cache of the given CAS value applies.
|
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.
|
<T> OperationFuture<Boolean> |
MemcachedClient.prepend(long cas,
String key,
T val,
Transcoder<T> tc)
Prepend to an existing value in the cache.
|
OperationFuture<Boolean> |
MemcachedClient.prepend(String key,
Object val)
Prepend to an existing value in the cache.
|
<T> OperationFuture<Boolean> |
MemcachedClient.prepend(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.
|
<T> OperationFuture<Boolean> |
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.
|
<T> OperationFuture<Boolean> |
MemcachedClient.set(String key,
int exp,
T o,
Transcoder<T> tc)
Set an object in the cache regardless of any existing value.
|
<T> OperationFuture<Boolean> |
MemcachedClient.touch(String key,
int exp)
Touch the given key to reset its expiration time with the default
transcoder.
|
<T> OperationFuture<Boolean> |
MemcachedClient.touch(String key,
int exp,
Transcoder<T> tc)
Touch the given key to reset its expiration time.
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<T> |
OperationFuture.addListener(OperationCompletionListener listener) |
OperationFuture<T> |
OperationFuture.removeListener(OperationCompletionListener listener) |
Copyright © 2024. All rights reserved.