public class WriteBuffer
extends java.lang.Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
WriteBuffer.Sink |
Interface implemented by clients of the WriteBuffer to enable data to be
written back out from the buffer.
|
Constructor | Description |
---|---|
WriteBuffer(int bufferSize) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(java.nio.ByteBuffer from) |
|
boolean |
isEmpty() |
|
boolean |
write(WriteBuffer.Sink sink,
boolean blocking) |
public void add(java.nio.ByteBuffer from)
public boolean isEmpty()
public boolean write(WriteBuffer.Sink sink, boolean blocking) throws java.io.IOException
java.io.IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.