static <TResult,TError extends Exception> void |
IOUtil.error(TError error,
AsyncSupplier<TResult,TError> result,
Consumer<Pair<TResult,TError>> ondone)
Shortcut to transfer an error to ondone if it is not null, and to the AsyncWork.
|
static <TResult,TError extends Exception> AsyncSupplier<TResult,TError> |
IOUtil.error(TError error,
Consumer<Pair<TResult,TError>> ondone)
Shortcut to transfer an error to ondone if it is not null, and create an AsyncWork with this error.
|
static <T> Consumer<IOException> |
IOUtil.errorConsumer(IAsync<IOException> async,
Consumer<Pair<T,IOException>> ondone)
Create a consumer that call forward the error to the given sync and call onDone.
|
static <T> void |
IOUtil.listenOnDone(AsyncSupplier<T,IOException> toListen,
AsyncSupplier<T,IOException> toUnblock,
Consumer<Pair<T,IOException>> ondone)
Listen to the given asynchronous operation, then unblock toUnblock with its result/error/cancellation,
but calls ondone before if not null and the result is not cancelled.
|
static <T,T2> void |
IOUtil.listenOnDone(AsyncSupplier<T,IOException> toListen,
Consumer<T> onReady,
IAsync<IOException> onErrorOrCancel,
Consumer<Pair<T2,IOException>> ondone)
Listen to toListen, then calls onReady if it succeed.
|
static <T,T2> void |
IOUtil.listenOnDone(AsyncSupplier<T,IOException> toListen,
Task<?,?> onReady,
IAsync<IOException> onErrorOrCancel,
Consumer<Pair<T2,IOException>> ondone)
Listen to toListen, then launch onReady if it succeed.
|
static <T> void |
IOUtil.listenOnDone(IAsync<IOException> toListen,
Runnable onReady,
IAsync<IOException> onErrorOrCancel,
Consumer<Pair<T,IOException>> ondone)
Listen to toListen, then calls onReady if it succeed.
|
static <TResult,TError extends Exception> void |
IOUtil.notSuccess(IAsync<TError> sp,
AsyncSupplier<TResult,TError> result,
Consumer<Pair<TResult,TError>> ondone)
Shortcut to transfer error or cancellation.
|
protected AsyncSupplier<Integer,IOException> |
SubIO.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.Seekable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.Readable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.Readable.Buffered.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IOFromInputStream.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Readable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Asynchronous read operation.
|
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.Readable.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadOnly.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.readAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
SubIO.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.Seekable.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.Seekable.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Readable.Seekable.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
|
protected AsyncSupplier<Integer,IOException> |
FragmentedSubIO.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.Readable.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadOnly.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.readAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
static Task<Integer,IOException> |
IOUtil.readAsyncUsingSync(IO.Readable.Seekable io,
long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous read using a task calling the synchronous one.
|
static Task<Integer,IOException> |
IOUtil.readAsyncUsingSync(IO.Readable io,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous read using a task calling the synchronous one.
|
protected AsyncSupplier<Integer,IOException> |
SubIO.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.Seekable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.Readable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.Readable.Buffered.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IOFromInputStream.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Readable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Asynchronous read operation to fully fill the given buffer.
|
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.Readable.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadOnly.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.readFullyAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
static AsyncSupplier<Integer,IOException> |
IOUtil.readFullyAsync(IO.Readable.Seekable io,
long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Fill the remaining bytes of the given buffer.
|
static AsyncSupplier<Integer,IOException> |
IOUtil.readFullyAsync(IO.Readable io,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Fill the remaining bytes of the given buffer asynchronously.
|
static AsyncSupplier<Integer,IOException> |
IOUtil.readFullyAsync(IO.Readable io,
ByteBuffer buffer,
int done,
Consumer<Pair<Integer,IOException>> ondone)
Fill the remaining bytes of the given buffer asynchronously.
|
protected AsyncSupplier<Integer,IOException> |
SubIO.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Readable.Seekable.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.Seekable.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Readable.Seekable.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
|
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.Readable.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadOnly.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.readFullyAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
static Task<Integer,IOException> |
IOUtil.readFullyAsyncUsingSync(IO.Readable.Seekable io,
long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous read using a task calling the synchronous one.
|
static Task<Integer,IOException> |
IOUtil.readFullyAsyncUsingSync(IO.Readable io,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous read using a task calling the synchronous one.
|
AsyncSupplier<Integer,IOException> |
SubIO.Readable.Seekable.Buffered.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
PositionKnownWrapper.Readable.Buffered.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.Buffered.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.Readable.Seekable.Buffered.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Readable.Buffered.readFullySyncIfPossible(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
While readAsync methods are supposed to do the job in a separate thread, this method
fills the given buffer synchronously if enough data is already buffered, else it finishes asynchronously.
|
AsyncSupplier<ByteBuffer,IOException> |
SubIO.Readable.Seekable.Buffered.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
protected AsyncSupplier<ByteBuffer,IOException> |
PositionKnownWrapper.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
AsyncSupplier<ByteBuffer,IOException> |
PositionKnownWrapper.Readable.Buffered.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
protected AsyncSupplier<ByteBuffer,IOException> |
LinkedIO.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
AsyncSupplier<ByteBuffer,IOException> |
LinkedIO.Readable.Buffered.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
AsyncSupplier<ByteBuffer,IOException> |
LinkedIO.Readable.Seekable.Buffered.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone) |
AsyncSupplier<ByteBuffer,IOException> |
IO.Readable.Buffered.readNextBufferAsync(Consumer<Pair<ByteBuffer,IOException>> ondone)
Retrieve a buffer of bytes in the most efficient way depending on the implementation of Buffered.
This method is similar to readAsync, it reads some bytes that are immediately available with a minimum of
operations.
|
protected AsyncSupplier<Long,IOException> |
SubIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.Readable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.Writable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.ReadWrite.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
LinkedIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
LinkedIO.Readable.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
IO.Seekable.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone)
Returns the new position.
|
AsyncSupplier<Long,IOException> |
FragmentedSubIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
FileIO.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadOnly.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.WriteOnly.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadWrite.seekAsync(IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone) |
static Task<Long,IOException> |
IOUtil.seekAsyncUsingSync(IO.Seekable io,
IO.Seekable.SeekType type,
long move,
Consumer<Pair<Long,IOException>> ondone)
Implement an asynchronous seek using a task calling a synchronous one.
|
AsyncSupplier<Long,IOException> |
SubIO.Readable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.Readable.Seekable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
SubIO.ReadWrite.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
PositionKnownWrapper.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
PositionKnownWrapper.Readable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
PositionKnownWrapper.Readable.Buffered.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
LinkedIO.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
LinkedIO.Readable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
IOFromInputStream.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
IO.Readable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone)
Returns the number of bytes skipped.
|
protected AsyncSupplier<Long,IOException> |
FragmentedSubIO.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FragmentedSubIO.Readable.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
protected AsyncSupplier<Long,IOException> |
FileIO.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadOnly.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
AsyncSupplier<Long,IOException> |
FileIO.ReadWrite.skipAsync(long n,
Consumer<Pair<Long,IOException>> ondone) |
static AsyncSupplier<Long,IOException> |
IOUtil.skipAsyncByReading(IO.Readable io,
long n,
Consumer<Pair<Long,IOException>> ondone)
Implement an asynchronous skip using readAsync.
|
static AsyncSupplier<Long,IOException> |
IOUtil.skipAsyncUsingSync(IO.Readable io,
long n,
Consumer<Pair<Long,IOException>> ondone)
Implement an asynchronous skip using a task calling a synchronous skip.
|
static <TResult,TError extends Exception> void |
IOUtil.success(TResult res,
AsyncSupplier<TResult,TError> result,
Consumer<Pair<TResult,TError>> ondone)
Shortcut to transfer a result to ondone if it is not null, and to the AsyncWork.
|
static <TResult,TError extends Exception> AsyncSupplier<TResult,TError> |
IOUtil.success(TResult result,
Consumer<Pair<TResult,TError>> ondone)
Shortcut to transfer a result to ondone if it is not null, and create an AsyncWork with this result.
|
protected AsyncSupplier<Integer,IOException> |
SubIO.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Writable.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Writable.Seekable.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.ReadWrite.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IOFromOutputStream.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Writable.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Write asynchronously all bytes available in the given buffer at the current position.
|
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.ReadWrite.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.WriteOnly.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.writeAsync(ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected void |
FragmentedSubIO.writeAsync(Iterator<RangeLong> it,
RangeLong r,
long p,
int done,
long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone,
AsyncSupplier<Integer,IOException> sp) |
protected AsyncSupplier<Integer,IOException> |
SubIO.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.Writable.Seekable.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
SubIO.ReadWrite.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
LinkedIO.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
LinkedIO.ReadWrite.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
IO.Writable.Seekable.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
|
protected AsyncSupplier<Integer,IOException> |
FragmentedSubIO.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FragmentedSubIO.ReadWrite.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
protected AsyncSupplier<Integer,IOException> |
FileIO.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.WriteOnly.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
AsyncSupplier<Integer,IOException> |
FileIO.ReadWrite.writeAsync(long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone) |
static Task<Integer,IOException> |
IOUtil.writeAsyncUsingSync(IO.Writable.Seekable io,
long pos,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous write using a task calling a synchronous write.
|
static Task<Integer,IOException> |
IOUtil.writeAsyncUsingSync(IO.Writable io,
ByteBuffer buffer,
Consumer<Pair<Integer,IOException>> ondone)
Implement an asynchronous write using a task calling a synchronous write.
|