public class SerializingTranscoder extends BaseSerializingTranscoder implements Transcoder<Object>
charset, compressionThreshold, DEFAULT_COMPRESSION_THRESHOLD| Constructor and Description |
|---|
SerializingTranscoder()
Get a serializing transcoder with the default max data size.
|
SerializingTranscoder(int max)
Get a serializing transcoder that specifies the max data size.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
asyncDecode(CachedData d)
Should the transcoder be run asyncronously.
|
Object |
decode(CachedData d)
Decode the cached object into the object it represents.
|
CachedData |
encode(Object o)
Encode the given object for storage.
|
compress, decodeString, decompress, deserialize, encodeString, getMaxSize, serialize, setCharset, setCompressionThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxSizepublic SerializingTranscoder()
public SerializingTranscoder(int max)
public boolean asyncDecode(CachedData d)
TranscoderasyncDecode in interface Transcoder<Object>asyncDecode in class BaseSerializingTranscoderpublic Object decode(CachedData d)
Transcoderdecode in interface Transcoder<Object>d - the datapublic CachedData encode(Object o)
Transcoderencode in interface Transcoder<Object>o - the objectCopyright © 2019. All rights reserved.