public class Storage extends AbstractStorage
AbstractStorage.AppenderStream, AbstractStorage.StorageDataOutputDisposable.ParentDATA_EXTENSION, INDEX_EXTENSION, LOG, myDataTable, myLock, myPool, myRecordsTable| Constructor and Description |
|---|
Storage(java.lang.String path) |
Storage(java.lang.String path,
CapacityAllocationPolicy capacityAllocationPolicy) |
Storage(java.lang.String path,
PagePool pool) |
| Modifier and Type | Method and Description |
|---|---|
int |
createNewRecord() |
protected AbstractRecordsTable |
createRecordsTable(PagePool pool,
java.io.File recordsFile) |
void |
deleteRecord(int record) |
appendBytes, appendStream, checkSanity, createRecordIdIterator, deleteFiles, dispose, doDeleteRecord, flushSome, force, getLiveRecordsCount, getVersion, isDirty, readBytes, readStream, replaceBytes, setVersion, writeBytes, writeStream, writeStreampublic Storage(java.lang.String path)
throws java.io.IOException
java.io.IOExceptionpublic Storage(java.lang.String path,
PagePool pool)
throws java.io.IOException
java.io.IOExceptionpublic Storage(java.lang.String path,
CapacityAllocationPolicy capacityAllocationPolicy)
throws java.io.IOException
java.io.IOExceptionprotected AbstractRecordsTable createRecordsTable(PagePool pool, java.io.File recordsFile) throws java.io.IOException
createRecordsTable in class AbstractStoragejava.io.IOExceptionpublic int createNewRecord()
throws java.io.IOException
java.io.IOExceptionpublic void deleteRecord(int record)
throws java.io.IOException
java.io.IOException