public interface FileInterface
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getLimit() |
ByteBuffer |
read(long offset,
long len) |
Future<ByteBuffer> |
readAsync(int offset,
int len) |
ByteBuffer[] |
readv(int[] offsets,
int[] lens) |
Future<ByteBuffer>[] |
readvAsync(int[] offsets,
int[] lens) |
ByteBuffer read(long offset, long len) throws IOException
IOExceptionByteBuffer[] readv(int[] offsets, int[] lens) throws IOException
IOExceptionFuture<ByteBuffer> readAsync(int offset, int len) throws IOException
IOExceptionFuture<ByteBuffer>[] readvAsync(int[] offsets, int[] lens) throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionlong getLimit()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.