Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected byte[] compress​(byte[] in)  
      protected byte[] decompress​(byte[] in)  
      • Methods inherited from class net.spy.memcached.transcoders.SerializingTranscoder

        asyncDecode, decode, encode
      • Methods inherited from class net.spy.memcached.transcoders.BaseSerializingTranscoder

        decodeString, deserialize, encodeString, getMaxSize, serialize, setCharset, setCompressionThreshold
      • Methods inherited from class net.spy.memcached.compat.SpyObject

        getLogger
      • Methods inherited from interface net.spy.memcached.transcoders.Transcoder

        getMaxSize
    • Constructor Detail

      • LZ4Transcoder

        public LZ4Transcoder()
      • LZ4Transcoder

        public LZ4Transcoder​(int max)
    • Method Detail

      • compress

        protected byte[] compress​(byte[] in)
        Overrides:
        compress in class net.spy.memcached.transcoders.BaseSerializingTranscoder
      • decompress

        protected byte[] decompress​(byte[] in)
        Overrides:
        decompress in class net.spy.memcached.transcoders.BaseSerializingTranscoder