Uses of Interface
net.spy.memcached.transcoders.Transcoder

Packages that use Transcoder
net.spy.memcached Memcached client and transformation utils 
net.spy.memcached.spring   
net.spy.memcached.transcoders Classes that deal with data encoding 
 

Uses of Transcoder in net.spy.memcached
 

Fields in net.spy.memcached declared as Transcoder
protected  Transcoder<java.lang.Object> MemcachedClient.transcoder
           
protected  Transcoder<java.lang.Object> ConnectionFactoryBuilder.transcoder
           
 

Methods in net.spy.memcached that return Transcoder
 Transcoder<java.lang.Object> DefaultConnectionFactory.getDefaultTranscoder()
           
 Transcoder<java.lang.Object> ConnectionFactory.getDefaultTranscoder()
          Get the default transcoder to be used in connections created by this factory.
 Transcoder<java.lang.Object> MemcachedClientIF.getTranscoder()
           
 Transcoder<java.lang.Object> MemcachedClient.getTranscoder()
          Get the default transcoder that's in use.
 

Methods in net.spy.memcached with parameters of type Transcoder
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.add(java.lang.String key, int exp, T o, Transcoder<T> tc)
           
<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.
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.append(long cas, java.lang.String key, T val, Transcoder<T> tc)
           
<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.
<T> java.util.concurrent.Future<CASResponse>
MemcachedClient.asyncCAS(java.lang.String key, long casId, int exp, T value, Transcoder<T> tc)
          Asynchronous CAS operation.
<T> java.util.concurrent.Future<CASResponse>
MemcachedClientIF.asyncCAS(java.lang.String key, long casId, T value, Transcoder<T> tc)
           
<T> java.util.concurrent.Future<CASResponse>
MemcachedClient.asyncCAS(java.lang.String key, long casId, T value, Transcoder<T> tc)
          Asynchronous CAS operation.
<T> java.util.concurrent.Future<T>
MemcachedClientIF.asyncGet(java.lang.String key, Transcoder<T> tc)
           
<T> GetFuture<T>
MemcachedClient.asyncGet(java.lang.String key, Transcoder<T> tc)
          Get the given key asynchronously.
<T> java.util.concurrent.Future<CASValue<T>>
MemcachedClientIF.asyncGetAndTouch(java.lang.String key, int exp, Transcoder<T> tc)
           
<T> OperationFuture<CASValue<T>>
MemcachedClient.asyncGetAndTouch(java.lang.String key, int exp, Transcoder<T> tc)
          Get the given key to reset its expiration time.
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClientIF.asyncGetBulk(java.util.Collection<java.lang.String> keys, Transcoder<T> tc)
           
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClient.asyncGetBulk(java.util.Collection<java.lang.String> keys, Transcoder<T> tc)
          Asynchronously get a bunch of objects from the cache.
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClientIF.asyncGetBulk(java.util.Iterator<java.lang.String> keys, Transcoder<T> tc)
           
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClient.asyncGetBulk(java.util.Iterator<java.lang.String> keyIter, Transcoder<T> tc)
          Asynchronously get a bunch of objects from the cache.
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClientIF.asyncGetBulk(Transcoder<T> tc, java.lang.String... keys)
           
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClient.asyncGetBulk(Transcoder<T> tc, java.lang.String... keys)
          Varargs wrapper for asynchronous bulk gets.
<T> java.util.concurrent.Future<CASValue<T>>
MemcachedClientIF.asyncGets(java.lang.String key, Transcoder<T> tc)
           
<T> OperationFuture<CASValue<T>>
MemcachedClient.asyncGets(java.lang.String key, Transcoder<T> tc)
          Gets (with CAS support) the given key asynchronously.
<T> CASResponse
MemcachedClientIF.cas(java.lang.String key, long casId, int exp, T value, Transcoder<T> tc)
           
<T> CASResponse
MemcachedClient.cas(java.lang.String key, long casId, int exp, T value, Transcoder<T> tc)
          Perform a synchronous CAS operation.
<T> CASResponse
MemcachedClient.cas(java.lang.String key, long casId, T value, Transcoder<T> tc)
          Perform a synchronous CAS operation.
<T> T
MemcachedClientIF.get(java.lang.String key, Transcoder<T> tc)
           
<T> T
MemcachedClient.get(java.lang.String key, Transcoder<T> tc)
          Get with a single key.
<T> CASValue<T>
MemcachedClientIF.getAndTouch(java.lang.String key, int exp, Transcoder<T> tc)
           
<T> CASValue<T>
MemcachedClient.getAndTouch(java.lang.String key, int exp, Transcoder<T> tc)
          Get with a single key and reset its expiration.
<T> java.util.Map<java.lang.String,T>
MemcachedClientIF.getBulk(java.util.Collection<java.lang.String> keys, Transcoder<T> tc)
           
<T> java.util.Map<java.lang.String,T>
MemcachedClient.getBulk(java.util.Collection<java.lang.String> keys, Transcoder<T> tc)
          Get the values for multiple keys from the cache.
<T> java.util.Map<java.lang.String,T>
MemcachedClientIF.getBulk(java.util.Iterator<java.lang.String> keys, Transcoder<T> tc)
           
<T> java.util.Map<java.lang.String,T>
MemcachedClient.getBulk(java.util.Iterator<java.lang.String> keyIter, Transcoder<T> tc)
          Get the values for multiple keys from the cache.
<T> java.util.Map<java.lang.String,T>
MemcachedClientIF.getBulk(Transcoder<T> tc, java.lang.String... keys)
           
<T> java.util.Map<java.lang.String,T>
MemcachedClient.getBulk(Transcoder<T> tc, java.lang.String... keys)
          Get the values for multiple keys from the cache.
<T> CASValue<T>
MemcachedClientIF.gets(java.lang.String key, Transcoder<T> tc)
           
<T> CASValue<T>
MemcachedClient.gets(java.lang.String key, Transcoder<T> tc)
          Gets (with CAS support) with a single key.
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.prepend(long cas, java.lang.String key, T val, Transcoder<T> tc)
           
<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.
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.replace(java.lang.String key, int exp, T o, Transcoder<T> tc)
           
<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.
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.set(java.lang.String key, int exp, T o, Transcoder<T> tc)
           
<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.
 ConnectionFactoryBuilder ConnectionFactoryBuilder.setTranscoder(Transcoder<java.lang.Object> t)
          Set the default transcoder.
<T> java.util.concurrent.Future<java.lang.Boolean>
MemcachedClientIF.touch(java.lang.String key, int exp, Transcoder<T> tc)
           
<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.
 

Method parameters in net.spy.memcached with type arguments of type Transcoder
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClientIF.asyncGetBulk(java.util.Collection<java.lang.String> keys, java.util.Iterator<Transcoder<T>> tcs)
           
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClient.asyncGetBulk(java.util.Collection<java.lang.String> keys, java.util.Iterator<Transcoder<T>> tcIter)
          Asynchronously get a bunch of objects from the cache.
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClientIF.asyncGetBulk(java.util.Iterator<java.lang.String> keys, java.util.Iterator<Transcoder<T>> tcs)
           
<T> BulkFuture<java.util.Map<java.lang.String,T>>
MemcachedClient.asyncGetBulk(java.util.Iterator<java.lang.String> keyIter, java.util.Iterator<Transcoder<T>> tcIter)
          Asynchronously get a bunch of objects from the cache.
 

Constructors in net.spy.memcached with parameters of type Transcoder
BaseCacheMap(MemcachedClientIF c, int expiration, java.lang.String prefix, Transcoder<V> t)
          Build a BaseCacheMap.
CASMutator(MemcachedClientIF c, Transcoder<T> tc)
          Construct a CASMutator that uses the given client.
CASMutator(MemcachedClientIF c, Transcoder<T> tc, int maxTries)
          Construct a CASMutator that uses the given client.
 

Uses of Transcoder in net.spy.memcached.spring
 

Methods in net.spy.memcached.spring with parameters of type Transcoder
 void MemcachedClientFactoryBean.setTranscoder(Transcoder<java.lang.Object> t)
           
 

Uses of Transcoder in net.spy.memcached.transcoders
 

Classes in net.spy.memcached.transcoders that implement Transcoder
 class IntegerTranscoder
          Transcoder that serializes and unserializes longs.
 class LongTranscoder
          Transcoder that serializes and unserializes longs.
 class SerializingTranscoder
          Transcoder that serializes and compresses objects.
 class WhalinTranscoder
          Transcoder that provides compatibility with Greg Whalin's memcached client.
 class WhalinV1Transcoder
          Handles old whalin (tested with v1.6) encoding: data type is in the first byte of the value.
 

Methods in net.spy.memcached.transcoders with parameters of type Transcoder
<T> java.util.concurrent.Future<T>
TranscodeService.decode(Transcoder<T> tc, CachedData cachedData)
          Perform a decode.
 



Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.