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, setCompressionThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasyncDecode, getMaxSizepublic Object decode(CachedData d)
Transcoderdecode in interface Transcoder<Object>d - the datapublic CachedData encode(Object o)
Transcoderencode in interface Transcoder<Object>o - the objectprotected Character decodeCharacter(byte[] b)
public byte[] encodeBoolean(boolean b)
public boolean decodeBoolean(byte[] in)
Copyright © 2025. All rights reserved.