Class FrameEncoder.Payload

java.lang.Object
org.apache.cassandra.net.FrameEncoder.Payload
Enclosing class:
FrameEncoder

public static class FrameEncoder.Payload extends Object
An abstraction useful for transparently allocating buffers that can be written to upstream of the FrameEncoder without knowledge of the encoder's frame layout, while ensuring enough space to write the remainder of the frame's contents is reserved.
  • Field Details

  • Method Details

    • remaining

      public int remaining()
    • finish

      public void finish()
    • release

      public void release()