public class BufferedIoOutputStream extends AbstractInnerCloseable implements IoOutputStream
AbstractCloseable.State
closeFuture, lock, state
log
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
close, isOpen
public BufferedIoOutputStream(IoOutputStream out)
public IoWriteFuture write(Buffer buffer)
IoOutputStream
write
in interface IoOutputStream
buffer
- the Buffer
to useIoWriteFuture
for the operationprotected Closeable getInnerCloseable()
getInnerCloseable
in class AbstractInnerCloseable
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.