public interface DataBlockFactory extends MemoryAware
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
int |
getBlockSize() |
DataBlock |
getBlockWithSpace(boolean allowFragmented) |
DataBlock |
getHeaderBlock() |
DataBlock |
loadBlock(long position) |
DataBlock |
loadBlockForDataPosition(long dataPosition) |
void |
open() |
void |
releaseBlock(long position) |
getCachedBlocks, getTotalMemoryUsagevoid open() throws JasDBStorageException
JasDBStorageExceptionint getBlockSize()
DataBlock getHeaderBlock() throws JasDBStorageException
JasDBStorageExceptionDataBlock loadBlock(long position) throws JasDBStorageException
JasDBStorageExceptionDataBlock loadBlockForDataPosition(long dataPosition) throws JasDBStorageException
JasDBStorageExceptionDataBlock getBlockWithSpace(boolean allowFragmented) throws JasDBStorageException
JasDBStorageExceptionvoid releaseBlock(long position)
throws JasDBStorageException
JasDBStorageExceptionvoid flush()
throws JasDBStorageException
JasDBStorageExceptionvoid close()
throws JasDBStorageException
JasDBStorageExceptionCopyright © 2015. All rights reserved.