Package org.apache.druid.client.cache
Class LZ4Transcoder
java.lang.Object
net.spy.memcached.compat.SpyObject
net.spy.memcached.transcoders.BaseSerializingTranscoder
net.spy.memcached.transcoders.SerializingTranscoder
org.apache.druid.client.cache.LZ4Transcoder
- All Implemented Interfaces:
net.spy.memcached.transcoders.Transcoder<Object>
public class LZ4Transcoder
extends net.spy.memcached.transcoders.SerializingTranscoder
-
Field Summary
Fields inherited from class net.spy.memcached.transcoders.BaseSerializingTranscoder
charset, compressionThreshold, DEFAULT_COMPRESSION_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected byte[]compress(byte[] in) protected byte[]decompress(byte[] in) Methods inherited from class net.spy.memcached.transcoders.SerializingTranscoder
asyncDecode, decode, encodeMethods inherited from class net.spy.memcached.transcoders.BaseSerializingTranscoder
decodeString, deserialize, encodeString, getMaxSize, serialize, setCharset, setCompressionThresholdMethods inherited from class net.spy.memcached.compat.SpyObject
getLoggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.spy.memcached.transcoders.Transcoder
getMaxSize
-
Constructor Details
-
LZ4Transcoder
public LZ4Transcoder() -
LZ4Transcoder
public LZ4Transcoder(int max)
-
-
Method Details
-
compress
protected byte[] compress(byte[] in) - Overrides:
compressin classnet.spy.memcached.transcoders.BaseSerializingTranscoder
-
decompress
protected byte[] decompress(byte[] in) - Overrides:
decompressin classnet.spy.memcached.transcoders.BaseSerializingTranscoder
-