| Modifier and Type | Field and Description |
|---|---|
| private volatile DataStreamChannel | |
| private volatile boolean | |
| private volatile boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | |
| private void | |
| private void | |
| public void | write(final byte[]
the data. b, final int the start offset in the data. off, final int the number of bytes to write. len)Implements org. len bytes from the specified byte array
starting at offset off to this buffer.
|
| public void | write(final int
the b)byte.Implements org. |
| public void | writeCompleted()
Implements org. |
| dataStreamChannel | back to summary |
|---|---|
| private volatile DataStreamChannel dataStreamChannel | |
| endStreamPropagated | back to summary |
|---|---|
| private volatile boolean endStreamPropagated | |
| hasCapacity | back to summary |
|---|---|
| private volatile boolean hasCapacity | |
| SharedOutputBuffer | back to summary |
|---|---|
| public SharedOutputBuffer(final ReentrantLock lock, final int initialBufferSize) | |
| SharedOutputBuffer | back to summary |
|---|---|
| public SharedOutputBuffer(final int bufferSize) | |
| ensureNotAborted | back to summary |
|---|---|
| private void ensureNotAborted() throws InterruptedIOException | |
| flush | back to summary |
|---|---|
| public void flush(final DataStreamChannel channel) throws IOException | |
| propagateEndStream | back to summary |
|---|---|
| private void propagateEndStream() throws IOException | |
| waitFlush | back to summary |
|---|---|
| private void waitFlush() throws InterruptedIOException | |
| write | back to summary |
|---|---|
| public void write(final byte[] b, final int off, final int len) throws IOException Implements org. Doc from org. Writes
If
| |
| write | back to summary |
|---|---|
| public void write(final int b) throws IOException Implements org. Doc from org. Writes the specified byte to this buffer.
| |
| writeCompleted | back to summary |
|---|---|
| public void writeCompleted() throws IOException Implements org. Doc from org. Indicates the content has been fully written.
| |