public class LocalHistoryRecordsTable extends AbstractRecordsTable
Disposable.Parent
DEFAULT_HEADER_SIZE, DEFAULT_RECORD_SIZE, myStorage, SPECIAL_NEGATIVE_SIZE_FOR_REMOVED_RECORD
Constructor and Description |
---|
LocalHistoryRecordsTable(java.io.File storageFilePath,
PagePool pool) |
Modifier and Type | Method and Description |
---|---|
int |
getFirstRecord() |
long |
getFSTimestamp() |
protected int |
getHeaderSize() |
protected int |
getImplVersion() |
long |
getLastId() |
int |
getLastRecord() |
int |
getNextRecord(int record) |
int |
getPrevRecord(int record) |
protected int |
getRecordSize() |
long |
getTimestamp(int record) |
protected byte[] |
getZeros() |
void |
setFirstRecord(int record) |
void |
setFSTimestamp(long timestamp) |
void |
setLastId(long lastId) |
void |
setLastRecord(int record) |
void |
setNextRecord(int record,
int nextRecord) |
void |
setPrevRecord(int record,
int prevRecord) |
void |
setTimestamp(int record,
long timestamp) |
createNewRecord, createRecordIdIterator, deleteRecord, dispose, flushSome, force, getAddress, getCapacity, getLiveRecordsCount, getOffset, getRecordsCount, getSize, getVersion, isDirty, isSizeOfLiveRecord, isSizeOfRemovedRecord, markDirty, setAddress, setCapacity, setSize, setVersion
public LocalHistoryRecordsTable(java.io.File storageFilePath, PagePool pool) throws java.io.IOException
java.io.IOException
protected int getHeaderSize()
getHeaderSize
in class AbstractRecordsTable
protected int getRecordSize()
getRecordSize
in class AbstractRecordsTable
protected int getImplVersion()
getImplVersion
in class AbstractRecordsTable
protected byte[] getZeros()
getZeros
in class AbstractRecordsTable
public long getLastId()
public void setLastId(long lastId)
public void setFirstRecord(int record)
public int getFirstRecord()
public void setLastRecord(int record)
public int getLastRecord()
public void setFSTimestamp(long timestamp)
public long getFSTimestamp()
public void setPrevRecord(int record, int prevRecord)
public int getPrevRecord(int record)
public void setNextRecord(int record, int nextRecord)
public int getNextRecord(int record)
public void setTimestamp(int record, long timestamp)
public long getTimestamp(int record)