com.google.code.ssm.providers.spymemcached
Class TranscoderAdapter

java.lang.Object
  extended by com.google.code.ssm.providers.spymemcached.TranscoderAdapter
All Implemented Interfaces:
net.spy.memcached.transcoders.Transcoder<Object>

 class TranscoderAdapter
extends Object
implements net.spy.memcached.transcoders.Transcoder<Object>

Since:
2.0.0
Author:
Jakub BiaƂek

Constructor Summary
TranscoderAdapter(CacheTranscoder transcoder)
           
 
Method Summary
 boolean asyncDecode(net.spy.memcached.CachedData d)
           
 Object decode(net.spy.memcached.CachedData d)
           
 net.spy.memcached.CachedData encode(Object o)
           
 int getMaxSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranscoderAdapter

TranscoderAdapter(CacheTranscoder transcoder)
Method Detail

asyncDecode

public boolean asyncDecode(net.spy.memcached.CachedData d)
Specified by:
asyncDecode in interface net.spy.memcached.transcoders.Transcoder<Object>

decode

public Object decode(net.spy.memcached.CachedData d)
Specified by:
decode in interface net.spy.memcached.transcoders.Transcoder<Object>

encode

public net.spy.memcached.CachedData encode(Object o)
Specified by:
encode in interface net.spy.memcached.transcoders.Transcoder<Object>

getMaxSize

public int getMaxSize()
Specified by:
getMaxSize in interface net.spy.memcached.transcoders.Transcoder<Object>


Copyright © 2014. All rights reserved.