public interface StoreReadWrite
| Modifier and Type | Field and Description |
|---|---|
static int |
FILE_SIZE_INCREMENT |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
create() |
void |
fsync() |
long |
getChunkSize()
Returns the alignment size for mmaps.
|
long |
getFileSize()
Returns the file size.
|
long |
getMmapCloseTimeout() |
void |
init() |
InStore |
openRead(long offset,
int size)
Opens the underlying file to the database.
|
OutStore |
openWrite(long offset,
int size)
Opens the underlying file to the database.
|
static final int FILE_SIZE_INCREMENT
long getFileSize()
long getChunkSize()
long getMmapCloseTimeout()
void create()
throws java.io.IOException
java.io.IOExceptionvoid init() throws java.io.IOException
java.io.IOExceptionInStore openRead(long offset, int size)
OutStore openWrite(long offset, int size)
void fsync()
void close()