All Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method and Description |
protected ISynchronizationPoint<IOException> |
canStartReading() |
protected ISynchronizationPoint<IOException> |
canStartWriting() |
protected void |
closeResources(SynchronizationPoint<Exception> ondone) |
protected ISynchronizationPoint<?> |
closeUnderlyingResources() |
protected long |
getPosition() |
byte |
getPriority()
Return the priority.
|
protected AsyncWork<Long,IOException> |
getSizeAsync() |
protected long |
getSizeSync() |
String |
getSourceDescription()
Describe the IO, which can be used for logging or debugging purposes.
|
TaskManager |
getTaskManager()
Return the TaskManager used for asynchronous operations.
|
IO |
getWrappedIO()
If this IO is wrapping another one (such as adding Buffered capabilities), this method returns it,
or null if it does not wrap another IO.
|
protected abstract void |
nextIOAsync(Runnable ondone,
ISynchronizationPoint<IOException> onerror,
RunnableWithParameter rp) |
protected void |
nextIOAsyncSeekable(Runnable ondone,
ISynchronizationPoint<IOException> onerror,
RunnableWithParameter rp) |
protected void |
nextIOAsyncStream(Runnable ondone) |
protected abstract void |
nextIOSync() |
protected void |
nextIOSyncSeekable() |
protected void |
nextIOSyncStream() |
protected abstract void |
previousIOAsync(Runnable ondone,
ISynchronizationPoint<IOException> onerror,
RunnableWithParameter rp) |
protected void |
previousIOAsyncSeekable(Runnable ondone,
ISynchronizationPoint<IOException> onerror,
RunnableWithParameter rp) |
protected void |
previousIOAsyncStream(Runnable ondone) |
protected abstract void |
previousIOSync() |
protected void |
previousIOSyncSeekable() |
protected void |
previousIOSyncStream() |
protected int |
read() |
protected int |
read(byte[] buf,
int off,
int len) |
protected int |
readAsync() |
protected AsyncWork<Integer,IOException> |
readAsync(ByteBuffer buffer,
RunnableWithParameter<Pair<Integer,IOException>> ondone) |
protected AsyncWork<Integer,IOException> |
readAsync(long pos,
ByteBuffer buffer,
RunnableWithParameter<Pair<Integer,IOException>> ondone) |
protected int |
readFully(byte[] buffer) |
protected AsyncWork<Integer,IOException> |
readFullyAsync(ByteBuffer buffer,
RunnableWithParameter<Pair<Integer,IOException>> ondone) |
protected AsyncWork<Integer,IOException> |
readFullyAsync(long pos,
ByteBuffer buffer,
RunnableWithParameter<Pair<Integer,IOException>> ondone) |
protected int |
readFullySync(ByteBuffer buffer) |
protected int |
readFullySync(long pos,
ByteBuffer buffer) |
protected AsyncWork<ByteBuffer,IOException> |
readNextBufferAsync(RunnableWithParameter<Pair<ByteBuffer,IOException>> ondone) |
protected int |
readSync(ByteBuffer buffer) |
protected int |
readSync(long pos,
ByteBuffer buffer) |
protected AsyncWork<Long,IOException> |
seekAsync(IO.Seekable.SeekType type,
long move,
RunnableWithParameter<Pair<Long,IOException>> ondone) |
protected long |
seekSync(IO.Seekable.SeekType type,
long move) |
void |
setPriority(byte priority)
Set the priority of asynchronous operations.
|
protected int |
skip(int n) |
protected AsyncWork<Long,IOException> |
skipAsync(long n,
RunnableWithParameter<Pair<Long,IOException>> ondone) |
protected long |
skipSync(long n) |