| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | BlockingStreamSourceConduit(final StreamSourceConduit
the delegate conduit to set next)Construct a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isReadResumed()
Overrides org. Implements org. Determine whether read notifications are currently enabled. |
| public int | read(final ByteBuffer
the buffer to fill with data from the conduit dst)Overrides org. Implements org. Read a sequence of bytes from this conduit to the given buffer. |
| public long | read(final ByteBuffer[]
the buffers to fill with data from the conduit dsts, final int the offset into the buffer array offs, final int the number of buffers to fill len)Overrides org. Implements org. Read a sequence of bytes from this conduit to the given buffers. |
| public void | resumeReads()
Overrides org. Implements org. Indicate that the conduit's |
| public void | suspendReads()
Overrides org. Implements org. Indicate that calling the conduit's |
| public long | transferTo(final long
the position within the file from which the transfer is to begin position, final long the number of bytes to be transferred count, final FileChannel the file to write to target)Overrides org. Implements org. Transfers bytes into the given file from this channel. |
| public long | transferTo(final long
the number of bytes to be transferred count, final ByteBuffer the buffer to copy through. throughBuffer, final StreamSinkChannel the destination to write to target)Overrides org. Implements org. Transfers bytes into the given channel target. |
| public void | wakeupReads()
Overrides org. Implements org. Indicate that the conduit's |
| resumed | back to summary |
|---|---|
| private boolean resumed | |
| BlockingStreamSourceConduit | back to summary |
|---|---|
| public BlockingStreamSourceConduit(final StreamSourceConduit next) Construct a new instance.
| |
| isReadResumed | back to summary |
|---|---|
| public boolean isReadResumed() Overrides org. Implements org. Doc from org. Determine whether read notifications are currently enabled.
| |
| read | back to summary |
|---|---|
| public int read(final ByteBuffer dst) throws IOException Overrides org. Implements org. Doc from org. Read a sequence of bytes from this conduit to the given buffer.
| |
| read | back to summary |
|---|---|
| public long read(final ByteBuffer[] dsts, final int offs, final int len) throws IOException Overrides org. Implements org. Doc from org. Read a sequence of bytes from this conduit to the given buffers.
| |
| resumeReads | back to summary |
|---|---|
| public void resumeReads() Overrides org. Implements org. Doc from org. Indicate that the conduit's | |
| suspendReads | back to summary |
|---|---|
| public void suspendReads() Overrides org. Implements org. Doc from org. Indicate that calling the conduit's | |
| transferTo | back to summary |
|---|---|
| public long transferTo(final long position, final long count, final FileChannel target) throws IOException Overrides org. Implements org. Doc from org. Transfers bytes into the given file from this channel.
| |
| transferTo | back to summary |
|---|---|
| public long transferTo(final long count, final ByteBuffer throughBuffer, final StreamSinkChannel target) throws IOException Overrides org. Implements org. Doc from org. Transfers bytes into the given channel target. On entry,
| |
| wakeupReads | back to summary |
|---|---|
| public void wakeupReads() Overrides org. Implements org. Doc from org. Indicate that the conduit's | |