Package org.apache.cassandra.streaming
Interface StreamingDataOutputPlus.Write
-
- Enclosing interface:
- StreamingDataOutputPlus
public static interface StreamingDataOutputPlus.Write
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write(StreamingDataOutputPlus.BufferSupplier supplier)
Write to a buffer, and flush its contents to the channel.
-
-
-
Method Detail
-
write
void write(StreamingDataOutputPlus.BufferSupplier supplier) throws java.io.IOException
Write to a buffer, and flush its contents to the channel.The lifetime of the buffer will be managed by the AsyncChannelOutputPlus you issue this Write to. If the method exits successfully, the contents of the buffer will be written to the channel, otherwise the buffer will be cleaned and the exception propagated to the caller.
- Throws:
java.io.IOException
-
-