Package org.apache.cassandra.net
Class FrameEncoderLZ4
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelOutboundHandlerAdapter
-
- org.apache.cassandra.net.FrameEncoder
-
- org.apache.cassandra.net.FrameEncoderLZ4
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelOutboundHandler
@Sharable public class FrameEncoderLZ4 extends FrameEncoder
Please seeFrameDecoderLZ4
for description of the framing produced by this encoder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.net.FrameEncoder
FrameEncoder.Payload, FrameEncoder.PayloadAllocator
-
-
Field Summary
Fields Modifier and Type Field Description static FrameEncoderLZ4
fastInstance
static int
HEADER_AND_TRAILER_LENGTH
-
Fields inherited from class org.apache.cassandra.net.FrameEncoder
bufferPool
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBuf
encode(boolean isSelfContained, java.nio.ByteBuffer in)
-
Methods inherited from class org.apache.cassandra.net.FrameEncoder
allocator, write
-
Methods inherited from class io.netty.channel.ChannelOutboundHandlerAdapter
bind, close, connect, deregister, disconnect, flush, read
-
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, exceptionCaught, handlerAdded, handlerRemoved, isSharable
-
-
-
-
Field Detail
-
fastInstance
public static final FrameEncoderLZ4 fastInstance
-
HEADER_AND_TRAILER_LENGTH
public static final int HEADER_AND_TRAILER_LENGTH
- See Also:
- Constant Field Values
-
-