Package org.apache.cassandra.streaming
Interface StreamingDataOutputPlus.BufferSupplier
-
- Enclosing interface:
- StreamingDataOutputPlus
public static interface StreamingDataOutputPlus.BufferSupplier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.nio.ByteBuffer
get(int capacity)
Request a buffer with at least the given capacity.
-
-
-
Method Detail
-
get
java.nio.ByteBuffer get(int capacity) throws java.io.IOException
Request a buffer with at least the given capacity. This method may only be invoked once, and the lifetime of buffer it returns will be managed by the AsyncChannelOutputPlus it was created for.- Throws:
java.io.IOException
-
-