AsyncReadableByteChannel
Similar to a mix between java.nio.channels.AsynchronousFileChannel
and
java.nio.channels.AsynchronousByteChannel
, allowing random access positioning,
but internally keeping track to the current position. One should assume that
at most one read operation can be submitted at a time (although this constraint
might be lifted in the future).
Similar to a mix between java.nio.channels.AsynchronousFileChannel
and
java.nio.channels.AsynchronousByteChannel
, allowing random access positioning,
but internally keeping track to the current position. One should assume that
at most one read operation can be submitted at a time (although this constraint
might be lifted in the future).
Value members
Abstract methods
Inherited methods
It is allowed to call this method even if there is an ongoing previous closure process. In such case the future of the ongoing closure is returned.
It is allowed to call this method even if there is an ongoing previous closure process. In such case the future of the ongoing closure is returned.
- Inherited from
- AsyncChannel
When a file is opened, this reports true
. As soon as close
is called, this method reports false
, even if the asynchronous
closure is still going on. At this point no further reads or writes
should be made.
When a file is opened, this reports true
. As soon as close
is called, this method reports false
, even if the asynchronous
closure is still going on. At this point no further reads or writes
should be made.
- Inherited from
- AsyncChannel