| 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Transcoder | |
|---|---|
| net.spy.memcached | Memcached client and transformation utils | 
| net.spy.memcached.transcoders | Classes that deal with data encoding | 
| Uses of Transcoder in net.spy.memcached | 
|---|
| Methods in net.spy.memcached that return Transcoder | |
|---|---|
 Transcoder<Object> | 
ConnectionFactory.getDefaultTranscoder()
Get the default transcoder to be used in connections created by this factory.  | 
 Transcoder<Object> | 
DefaultConnectionFactory.getDefaultTranscoder()
 | 
 Transcoder<Object> | 
MemcachedClient.getTranscoder()
Get the default transcoder that's in use.  | 
 Transcoder<Object> | 
MemcachedClientIF.getTranscoder()
 | 
| Methods in net.spy.memcached with parameters of type Transcoder | ||
|---|---|---|
 | 
MemcachedClient.add(String key,
    int exp,
    T o,
    Transcoder<T> tc)
Add an object to the cache iff it does not exist already.  | 
|
 | 
MemcachedClientIF.add(String key,
    int exp,
    T o,
    Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.append(long cas,
       String key,
       T val,
       Transcoder<T> tc)
Append to an existing value in the cache.  | 
|
 | 
MemcachedClientIF.append(long cas,
       String key,
       T val,
       Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.asyncCAS(String key,
         long casId,
         int exp,
         T value,
         Transcoder<T> tc)
Asynchronous CAS operation.  | 
|
 | 
MemcachedClient.asyncCAS(String key,
         long casId,
         T value,
         Transcoder<T> tc)
Asynchronous CAS operation.  | 
|
 | 
MemcachedClientIF.asyncCAS(String key,
         long casId,
         T value,
         Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.asyncGet(String key,
         Transcoder<T> tc)
Get the given key asynchronously.  | 
|
 | 
MemcachedClientIF.asyncGet(String key,
         Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.asyncGetBulk(Collection<String> keys,
             Transcoder<T> tc)
Asynchronously get a bunch of objects from the cache.  | 
|
 | 
MemcachedClientIF.asyncGetBulk(Collection<String> keys,
             Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.asyncGetBulk(Transcoder<T> tc,
             String... keys)
Varargs wrapper for asynchronous bulk gets.  | 
|
 | 
MemcachedClientIF.asyncGetBulk(Transcoder<T> tc,
             String... keys)
 | 
|
 | 
MemcachedClient.asyncGets(String key,
          Transcoder<T> tc)
Gets (with CAS support) the given key asynchronously.  | 
|
 | 
MemcachedClientIF.asyncGets(String key,
          Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.cas(String key,
    long casId,
    int exp,
    T value,
    Transcoder<T> tc)
Perform a synchronous CAS operation.  | 
|
 | 
MemcachedClient.cas(String key,
    long casId,
    T value,
    Transcoder<T> tc)
Perform a synchronous CAS operation.  | 
|
 | 
MemcachedClientIF.cas(String key,
    long casId,
    T value,
    Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.get(String key,
    Transcoder<T> tc)
Get with a single key.  | 
|
 | 
MemcachedClientIF.get(String key,
    Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.getBulk(Collection<String> keys,
        Transcoder<T> tc)
Get the values for multiple keys from the cache.  | 
|
 | 
MemcachedClientIF.getBulk(Collection<String> keys,
        Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.getBulk(Transcoder<T> tc,
        String... keys)
Get the values for multiple keys from the cache.  | 
|
 | 
MemcachedClientIF.getBulk(Transcoder<T> tc,
        String... keys)
 | 
|
 | 
MemcachedClient.gets(String key,
     Transcoder<T> tc)
Gets (with CAS support) with a single key.  | 
|
 | 
MemcachedClientIF.gets(String key,
     Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.prepend(long cas,
        String key,
        T val,
        Transcoder<T> tc)
Prepend to an existing value in the cache.  | 
|
 | 
MemcachedClientIF.prepend(long cas,
        String key,
        T val,
        Transcoder<T> tc)
 | 
|
 | 
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.  | 
|
 | 
MemcachedClientIF.replace(String key,
        int exp,
        T o,
        Transcoder<T> tc)
 | 
|
 | 
MemcachedClient.set(String key,
    int exp,
    T o,
    Transcoder<T> tc)
Set an object in the cache regardless of any existing value.  | 
|
 | 
MemcachedClientIF.set(String key,
    int exp,
    T o,
    Transcoder<T> tc)
 | 
|
 ConnectionFactoryBuilder | 
ConnectionFactoryBuilder.setTranscoder(Transcoder<Object> t)
Set the default transcoder.  | 
|
| Constructors in net.spy.memcached with parameters of type Transcoder | |
|---|---|
BaseCacheMap(MemcachedClientIF c,
             int expiration,
             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 max_tries)
Construct a CASMutator that uses the given client.  | 
|
| 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 | ||
|---|---|---|
 | 
TranscodeService.decode(Transcoder<T> tc,
       CachedData cachedData)
Perform a decode.  | 
|
  | 
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||