@ChannelHandler.Sharable public class FrameEncoderLZ4 extends FrameEncoder
FrameDecoderLZ4 for description of the framing produced by this encoder.FrameEncoder.Payload, FrameEncoder.PayloadAllocator| Modifier and Type | Field and Description |
|---|---|
static FrameEncoderLZ4 |
fastInstance |
static int |
HEADER_AND_TRAILER_LENGTH |
bufferPool| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBuf |
encode(boolean isSelfContained,
java.nio.ByteBuffer in)
Takes ownership of the lifetime of the provided buffer, which can be assumed to be managed by BufferPool
|
allocator, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharablepublic static final FrameEncoderLZ4 fastInstance
public static final int HEADER_AND_TRAILER_LENGTH
public io.netty.buffer.ByteBuf encode(boolean isSelfContained,
java.nio.ByteBuffer in)
FrameEncoderCopyright © 2009-2022 The Apache Software Foundation