public class BufferedIoOutputStream extends CloseableUtils.AbstractInnerCloseable implements IoOutputStream
CloseableUtils.AbstractCloseable.State
closeFuture, lock, log, state
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, doCloseImmediately
builder, close, isClosed, isClosing, preClose
public BufferedIoOutputStream(IoOutputStream out)
public IoWriteFuture write(Buffer buffer)
IoOutputStream
write
in interface IoOutputStream
protected Closeable getInnerCloseable()
getInnerCloseable
in class CloseableUtils.AbstractInnerCloseable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.