| Package | Description |
|---|---|
| org.apache.hadoop.fs |
An abstract file system API.
|
| Modifier and Type | Method and Description |
|---|---|
static FileRange |
FileRange.createFileRange(long offset,
int length)
Factory method to create a FileRange object.
|
static FileRange |
FileRange.createFileRange(long offset,
int length,
Object reference)
Factory method to create a FileRange object.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
PositionedReadable.readVectored(List<? extends FileRange> ranges,
IntFunction<ByteBuffer> allocate)
Read fully a list of file ranges asynchronously from this file.
|
void |
FSDataInputStream.readVectored(List<? extends FileRange> ranges,
IntFunction<ByteBuffer> allocate) |
default void |
PositionedReadable.readVectored(List<? extends FileRange> ranges,
IntFunction<ByteBuffer> allocate,
Consumer<ByteBuffer> release)
Extension of
PositionedReadable.readVectored(List, IntFunction) where a release(buffer)
operation may be invoked if problems surface during reads. |
void |
FSDataInputStream.readVectored(List<? extends FileRange> ranges,
IntFunction<ByteBuffer> allocate,
Consumer<ByteBuffer> release) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.