public interface DataRangeVisitor
Modifier and Type | Method and Description |
---|---|
boolean |
visitUnit(StorageUnit unit,
long off,
long lim)
Visit (a part of) a file in a range of files
|
boolean visitUnit(StorageUnit unit, long off, long lim)
unit
- A storage unitoff
- Offset that designates the beginning of this chunk's part in the file, inclusive;
visitor must not access the file before this indexlim
- Limit that designates the end of this chunk's part in the file, exclusive;
visitor must not access the file at or past this index
(i.e. the limit does not belong to this chunk)Copyright © 2016–2021. All rights reserved.