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, removeCloseFutureListenerIoWriteFuture 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 © 2018–2021 The Apache Software Foundation. All rights reserved.