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 see FrameDecoderLZ4 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

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final FrameEncoderLZ4
     
    static final int
     

    Fields inherited from class org.apache.cassandra.net.FrameEncoder

    bufferPool
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.buffer.ByteBuf
    encode(boolean isSelfContained, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty.channel.ChannelHandler

    exceptionCaught, handlerAdded, handlerRemoved
  • Field Details

  • Method Details

    • encode

      public io.netty.buffer.ByteBuf encode(boolean isSelfContained, ByteBuffer in)