Package org.apache.cassandra.net
Class FrameEncoder.Payload
java.lang.Object
org.apache.cassandra.net.FrameEncoder.Payload
- Enclosing class:
- FrameEncoder
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 Summary
Fields -
Method Summary
-
Field Details
-
MAX_SIZE
public static final int MAX_SIZE- See Also:
-
buffer
-
-
Method Details
-
remaining
public int remaining() -
finish
public void finish() -
release
public void release()
-