Class Lz4TransportDecompressor

java.lang.Object
org.elasticsearch.transport.Lz4TransportDecompressor
All Implemented Interfaces:
Closeable, AutoCloseable, Releasable, TransportDecompressor

public class Lz4TransportDecompressor extends Object implements TransportDecompressor
This file is forked from the https://netty.io project. In particular it forks the following file io.netty.handler.codec.compression.Lz4FrameDecoder. It modifies the original netty code to operate on byte arrays opposed to ByteBufs. Additionally, it integrates the decompression code to work in the Elasticsearch transport pipeline, Finally, it replaces the custom Netty decoder exceptions. This class is necessary as Netty is not a dependency in Elasticsearch server module.