public class SimpleIoOutputStream extends AbstractCloseable implements IoOutputStream
IoOutputStream using a synchronous ChannelOutputStream.| Modifier and Type | Class and Description |
|---|---|
protected static class |
SimpleIoOutputStream.DefaultIoWriteFuture |
AbstractCloseable.State| Modifier and Type | Field and Description |
|---|---|
protected ChannelOutputStream |
os |
closeFuture, futureLock, statelog| Constructor and Description |
|---|
SimpleIoOutputStream(ChannelOutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCloseImmediately() |
IoWriteFuture |
writeBuffer(Buffer buffer) |
addCloseFutureListener, builder, close, doCloseGracefully, getFutureLock, isClosed, isClosing, preClose, removeCloseFutureListenerdebug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCloseFutureListener, close, close, close, getMaxCloseWaitTime, isClosed, isClosing, isOpen, removeCloseFutureListenerprotected final ChannelOutputStream os
public SimpleIoOutputStream(ChannelOutputStream os)
protected void doCloseImmediately()
doCloseImmediately in class AbstractCloseablepublic IoWriteFuture writeBuffer(Buffer buffer) throws IOException
writeBuffer in interface IoOutputStreamIOExceptionCopyright © 2008–2021 The Apache Software Foundation. All rights reserved.