public class WhalinTranscoder extends BaseSerializingTranscoder implements Transcoder<Object>
charset, compressionThreshold, DEFAULT_COMPRESSION_THRESHOLD
Constructor and Description |
---|
WhalinTranscoder() |
Modifier and Type | Method and Description |
---|---|
Object |
decode(CachedData d)
Decode the cached object into the object it represents.
|
boolean |
decodeBoolean(byte[] in) |
protected Character |
decodeCharacter(byte[] b) |
CachedData |
encode(Object o)
Encode the given object for storage.
|
byte[] |
encodeBoolean(boolean b) |
asyncDecode, compress, decodeString, decompress, deserialize, encodeString, getMaxSize, serialize, setCharset, setCompressionThreshold
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asyncDecode, getMaxSize
public Object decode(CachedData d)
Transcoder
decode
in interface Transcoder<Object>
d
- the datapublic CachedData encode(Object o)
Transcoder
encode
in interface Transcoder<Object>
o
- the objectprotected Character decodeCharacter(byte[] b)
public byte[] encodeBoolean(boolean b)
public boolean decodeBoolean(byte[] in)
Copyright © 2023. All rights reserved.