| Modifier and Type | Field and Description |
|---|---|
| private Buffer | |
| protected final int | |
| protected final AtomicBoolean | |
| private int | |
| protected CompositeBuffer | |
| protected static final Integer | |
| protected static final GrizzlyFuture |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public GrizzlyFuture | close(final CompletionHandler<Integer> completionHandler)
Implements org. Close the |
| public void | ensureBufferCapacity(final int size)
Implements org.
|
| public GrizzlyFuture | flush(CompletionHandler<Integer> completionHandler)
Implements org. Make sure that all data that has been written is flushed from the stream to its destination. |
| protected abstract GrizzlyFuture | |
| public Buffer | |
| protected int | |
| public boolean | |
| protected abstract Buffer | |
| protected abstract void | |
| private GrizzlyFuture | |
| protected abstract Buffer | |
| public void | |
| public void |
| buffer | back to summary |
|---|---|
| private Buffer buffer | |
| bufferSize | back to summary |
|---|---|
| protected final int bufferSize | |
| isClosed | back to summary |
|---|---|
| protected final AtomicBoolean isClosed | |
| lastSlicedPosition | back to summary |
|---|---|
| private int lastSlicedPosition | |
| multiBufferWindow | back to summary |
|---|---|
| protected CompositeBuffer multiBufferWindow | |
| ZERO | back to summary |
|---|---|
| protected static final Integer ZERO | |
| ZERO_READY_FUTURE | back to summary |
|---|---|
| protected static final GrizzlyFuture<Integer> ZERO_READY_FUTURE | |
| BufferedOutput | back to summary |
|---|---|
| public BufferedOutput() | |
| BufferedOutput | back to summary |
|---|---|
| public BufferedOutput(int bufferSize) | |
| close | back to summary |
|---|---|
| public GrizzlyFuture Implements org. Doc from org. Close the
| |
| ensureBufferCapacity | back to summary |
|---|---|
| public void ensureBufferCapacity(final int size) throws IOException Implements org.
| |
| flush | back to summary |
|---|---|
| public GrizzlyFuture Implements org. Doc from org. Make sure that all data that has been written is flushed from the stream to its destination.
| |
| flush0 | back to summary |
|---|---|
| protected abstract GrizzlyFuture | |
| getBuffer | back to summary |
|---|---|
| public Buffer getBuffer() Implements org. Doc from org. Return the Input's
| |
| getBufferedSize | back to summary |
|---|---|
| protected int getBufferedSize() | |
| isBuffered | back to summary |
|---|---|
| public boolean isBuffered() Implements org.
| |
| newBuffer | back to summary |
|---|---|
| protected abstract Buffer newBuffer(int size) | |
| onClosed | back to summary |
|---|---|
| protected abstract void onClosed() throws IOException | |
| overflow | back to summary |
|---|---|
| private GrizzlyFuture | |
| reallocateBuffer | back to summary |
|---|---|
| protected abstract Buffer reallocateBuffer(Buffer oldBuffer, int size) | |
| write | back to summary |
|---|---|
| public void write(byte data) throws IOException Implements org.
| |
| write | back to summary |
|---|---|
| public void write(Buffer bufferToWrite) throws IOException Implements org.
| |