Package | Description |
---|---|
net.spy.memcached |
Memcached client and transformation utils
|
Modifier and Type | Method and Description |
---|---|
OperationFuture<java.lang.Boolean> |
MemcachedClient.add(java.lang.String key,
int exp,
java.lang.Object o)
Add an object to the cache (using the default transcoder) iff it does not
exist already.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.add(java.lang.String key,
int exp,
T o,
Transcoder<T> tc)
Add an object to the cache iff it does not exist already.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.append(long cas,
java.lang.String key,
java.lang.Object val)
Append to an existing value in the cache.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.append(long cas,
java.lang.String key,
T val,
Transcoder<T> tc)
Append to an existing value in the cache.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.append(java.lang.String key,
java.lang.Object val)
Append to an existing value in the cache.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.append(java.lang.String key,
T val,
Transcoder<T> tc)
Append to an existing value in the cache.
|
<T> OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(java.lang.String key,
long casId,
int exp,
T value,
Transcoder<T> tc)
Asynchronous CAS operation.
|
OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(java.lang.String key,
long casId,
java.lang.Object value)
Asynchronous CAS operation using the default transcoder.
|
<T> OperationFuture<CASResponse> |
MemcachedClient.asyncCAS(java.lang.String key,
long casId,
T value,
Transcoder<T> tc)
Asynchronous CAS operation.
|
OperationFuture<java.lang.Long> |
MemcachedClient.asyncDecr(java.lang.String key,
int by)
Asynchronous decrement.
|
OperationFuture<java.lang.Long> |
MemcachedClient.asyncDecr(java.lang.String key,
long by)
Asynchronous decrement.
|
OperationFuture<CASValue<java.lang.Object>> |
MemcachedClient.asyncGetAndTouch(java.lang.String key,
int exp)
Get the given key to reset its expiration time.
|
<T> OperationFuture<CASValue<T>> |
MemcachedClient.asyncGetAndTouch(java.lang.String key,
int exp,
Transcoder<T> tc)
Get the given key to reset its expiration time.
|
OperationFuture<CASValue<java.lang.Object>> |
MemcachedClient.asyncGets(java.lang.String key)
Gets (with CAS support) the given key asynchronously and decode using the
default transcoder.
|
<T> OperationFuture<CASValue<T>> |
MemcachedClient.asyncGets(java.lang.String key,
Transcoder<T> tc)
Gets (with CAS support) the given key asynchronously.
|
OperationFuture<java.lang.Long> |
MemcachedClient.asyncIncr(java.lang.String key,
int by)
Asychronous increment.
|
OperationFuture<java.lang.Long> |
MemcachedClient.asyncIncr(java.lang.String key,
long by)
Asychronous increment.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.delete(java.lang.String key)
Delete the given key from the cache.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.delete(java.lang.String key,
int hold)
Deprecated.
Hold values are no longer honored.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.delete(java.lang.String key,
long cas)
Delete the given key from the cache of the given CAS value applies.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.flush()
Flush all caches from all servers immediately.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.flush(int delay)
Flush all caches from all servers with a delay of application.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.prepend(long cas,
java.lang.String key,
java.lang.Object val)
Prepend to an existing value in the cache.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.prepend(long cas,
java.lang.String key,
T val,
Transcoder<T> tc)
Prepend to an existing value in the cache.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.prepend(java.lang.String key,
java.lang.Object val)
Prepend to an existing value in the cache.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.prepend(java.lang.String key,
T val,
Transcoder<T> tc)
Prepend to an existing value in the cache.
|
OperationFuture<java.lang.Boolean> |
MemcachedClient.replace(java.lang.String key,
int exp,
java.lang.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<java.lang.Boolean> |
MemcachedClient.replace(java.lang.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<java.lang.Boolean> |
MemcachedClient.set(java.lang.String key,
int exp,
java.lang.Object o)
Set an object in the cache (using the default transcoder) regardless of any
existing value.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.set(java.lang.String key,
int exp,
T o,
Transcoder<T> tc)
Set an object in the cache regardless of any existing value.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.touch(java.lang.String key,
int exp)
Touch the given key to reset its expiration time with the default
transcoder.
|
<T> OperationFuture<java.lang.Boolean> |
MemcachedClient.touch(java.lang.String key,
int exp,
Transcoder<T> tc)
Touch the given key to reset its expiration time.
|
Copyright © 2006-2009 Dustin Sallings, 2009-2013 Couchbase, Inc.