public interface IoOutputStream extends Closeable
Modifier and Type | Method and Description |
---|---|
IoWriteFuture |
writeBuffer(Buffer buffer)
Write the given buffer.
|
addCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListener
IoWriteFuture writeBuffer(Buffer buffer) throws IOException
buffer
- the data to write. NOTE: the buffer must not be touched until the returned write
future is completed.IoWriteFuture
that can be used to check when the data has actually been written.IOException
- if an error occurred when writing the dataCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.