Uses of Class
net.spy.memcached.internal.OperationFuture
Packages that use OperationFuture
Package
Description
Memcached client and transformation utils
Internal utilities.
-
Uses of OperationFuture in net.spy.memcached
Methods in net.spy.memcached that return OperationFutureModifier and TypeMethodDescriptionAdd 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.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.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.Asynchronous CAS operation using the default transcoder with expiration.MemcachedClient.asyncCAS
(String key, long casId, int exp, T value, Transcoder<T> tc) Asynchronous CAS operation.Asynchronous CAS operation using the default transcoder.MemcachedClient.asyncCAS
(String key, long casId, T value, Transcoder<T> tc) Asynchronous CAS operation.MemcachedClientIF.asyncCAS
(String key, long casId, int exp, T value, Transcoder<T> tc) private <T> OperationFuture
<Boolean> MemcachedClient.asyncCat
(ConcatenationType catType, long cas, String key, T value, Transcoder<T> tc) Asynchronous decrement.Asynchronous decrement.Asynchronous decrement.Asynchronous decrement.Asynchronous decrement.Asynchronous decrement.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.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.Asychronous increment.Asychronous increment.Asychronous increment.Asychronous increment.Asychronous increment.Asychronous increment.private OperationFuture
<Long> MemcachedClient.asyncMutate
(Mutator m, String key, long by, long def, int exp) private OperationFuture
<Boolean> MemcachedClient.asyncStore
(StoreType storeType, String key, int exp, Object value) private <T> OperationFuture
<Boolean> MemcachedClient.asyncStore
(StoreType storeType, String key, int exp, T value, Transcoder<T> tc) Delete the given key from the cache.Deprecated.Hold values are no longer honored.Delete the given key from the cache of the given CAS value applies.MemcachedClient.flush()
Flush all caches from all servers immediately.MemcachedClient.flush
(int delay) Flush all caches from all servers with a delay of application.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.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.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.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> 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. -
Uses of OperationFuture in net.spy.memcached.internal
Fields in net.spy.memcached.internal declared as OperationFutureMethods in net.spy.memcached.internal that return OperationFutureModifier and TypeMethodDescriptionOperationFuture.addListener
(OperationCompletionListener listener) OperationFuture.removeListener
(OperationCompletionListener listener)