public class StorageRecordTranscoder extends Object implements net.spy.memcached.transcoders.Transcoder<MemcachedStorageRecord>
MemcachedStorageRecord to bytes and back.| Modifier and Type | Field and Description |
|---|---|
private static int |
MAX_SIZE
Max size is maximum default memcached value size, 1MB.
|
| Constructor and Description |
|---|
StorageRecordTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncDecode(net.spy.memcached.CachedData d) |
MemcachedStorageRecord |
decode(net.spy.memcached.CachedData d) |
net.spy.memcached.CachedData |
encode(MemcachedStorageRecord o) |
int |
getMaxSize() |
private static final int MAX_SIZE
public boolean asyncDecode(net.spy.memcached.CachedData d)
asyncDecode in interface net.spy.memcached.transcoders.Transcoder<MemcachedStorageRecord>public net.spy.memcached.CachedData encode(MemcachedStorageRecord o)
encode in interface net.spy.memcached.transcoders.Transcoder<MemcachedStorageRecord>public MemcachedStorageRecord decode(net.spy.memcached.CachedData d)
decode in interface net.spy.memcached.transcoders.Transcoder<MemcachedStorageRecord>public int getMaxSize()
getMaxSize in interface net.spy.memcached.transcoders.Transcoder<MemcachedStorageRecord>Copyright © 1999–2016 Shibboleth Consortium. All rights reserved.