public static interface AsynchronousFileChannelInputStream.AsynchronousReadCallback
Modifier and Type | Method and Description |
---|---|
void |
completed(AsynchronousFileChannelInputStream input)
Invoked when the asynchronous read is completed.
|
void |
failed(AsynchronousFileChannelInputStream input,
java.lang.Throwable exc)
Invoked when the asynchronous read has failed.
|
void completed(AsynchronousFileChannelInputStream input)
input
- the input buffer that has completed the readingvoid failed(AsynchronousFileChannelInputStream input, java.lang.Throwable exc)
input
- the input buffer that has failed the readingexc
- the exception to indicate why the read has failed