public class CachedResponseTranscoder extends Object implements net.spy.memcached.transcoders.Transcoder<CachedResponse>
CachedResponse instances to/from bytes for storing in memcached.| Modifier and Type | Field and Description |
|---|---|
static CachedResponseTranscoder |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncDecode(net.spy.memcached.CachedData d) |
CachedResponse |
decode(net.spy.memcached.CachedData d) |
net.spy.memcached.CachedData |
encode(CachedResponse o) |
int |
getMaxSize() |
public static final CachedResponseTranscoder INSTANCE
public boolean asyncDecode(net.spy.memcached.CachedData d)
asyncDecode in interface net.spy.memcached.transcoders.Transcoder<CachedResponse>public net.spy.memcached.CachedData encode(CachedResponse o)
encode in interface net.spy.memcached.transcoders.Transcoder<CachedResponse>public CachedResponse decode(net.spy.memcached.CachedData d)
decode in interface net.spy.memcached.transcoders.Transcoder<CachedResponse>public int getMaxSize()
getMaxSize in interface net.spy.memcached.transcoders.Transcoder<CachedResponse>Copyright © 2014. All Rights Reserved.