public interface RandomAccessFileProvider
Modifier and Type | Method and Description |
---|---|
default RandomAccessFile |
acquire(String location)
Acquire a file for a location from a cache, if available
|
default RandomAccessFile |
acquire(String location,
int bufferSize)
Acquire a file for a location, with the given buffer size, from a cache, if available
|
boolean |
isOwnerOf(String location)
Determine if this Provider owns this location.
|
RandomAccessFile |
open(String location)
Open a location that this Provider is the owner of.
|
default RandomAccessFile |
open(String location,
int bufferSize)
Open a location that this Provider is the owner of, with the given buffer size
|
default RandomAccessFile acquire(String location) throws IOException
IOException
default RandomAccessFile acquire(String location, int bufferSize) throws IOException
IOException
boolean isOwnerOf(String location)
RandomAccessFile open(String location) throws IOException
IOException
default RandomAccessFile open(String location, int bufferSize) throws IOException
IOException