public class BufferedIoOutputStream extends CloseableUtils.AbstractInnerCloseable implements IoOutputStream
CloseableUtils.AbstractCloseable.StatecloseFuture, lock, statelog| Constructor and Description |
|---|
BufferedIoOutputStream(IoOutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
protected Closeable |
getInnerCloseable() |
String |
toString() |
IoWriteFuture |
write(Buffer buffer)
NOTE: the buffer must not be touched until the returned write future is completed.
|
doCloseGracefully, doCloseImmediatelybuilder, close, isClosed, isClosing, preCloseclose, isOpenpublic BufferedIoOutputStream(IoOutputStream out)
public IoWriteFuture write(Buffer buffer)
IoOutputStreamwrite in interface IoOutputStreambuffer - the Buffer to useIoWriteFuture for the operationprotected Closeable getInnerCloseable()
getInnerCloseable in class CloseableUtils.AbstractInnerCloseableCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.