public interface SeekableStore extends Store
Represents a Store
that can be seeked to a random position.
All the data passed to this store must be remembered until
Store.cleanup()
is invoked, in case a seek(long)
repositions on
pa previously read data.
Store
Modifier and Type | Method and Description |
---|---|
void |
seek(long position)
Reposition this
Store on a previously read position. |
void seek(long position) throws IOException
Store
on a previously read position.position
- position to read the data from.IOException
- If some error in the internal store happens.EOFException
- If a position
is greater than the actual Store
size.Copyright © 2008–2016. All rights reserved.