public class WhalinTranscoder extends BaseSerializingTranscoder implements Transcoder<java.lang.Object>
DEFAULT_COMPRESSION_THRESHOLD| Constructor and Description |
|---|
WhalinTranscoder() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decode(CachedData d)
Decode the cached object into the object it represents.
|
boolean |
decodeBoolean(byte[] in) |
CachedData |
encode(java.lang.Object o)
Encode the given object for storage.
|
byte[] |
encodeBoolean(boolean b) |
asyncDecode, getMaxSize, setCharset, setCompressionThresholdequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncDecode, getMaxSizepublic java.lang.Object decode(CachedData d)
Transcoderdecode in interface Transcoder<java.lang.Object>d - the datapublic CachedData encode(java.lang.Object o)
Transcoderencode in interface Transcoder<java.lang.Object>o - the objectpublic byte[] encodeBoolean(boolean b)
public boolean decodeBoolean(byte[] in)