public class LocalHistoryRecordsTable extends AbstractRecordsTable
Disposable.ParentDEFAULT_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, setVersionpublic LocalHistoryRecordsTable(java.io.File storageFilePath,
PagePool pool)
throws java.io.IOException
java.io.IOExceptionprotected int getHeaderSize()
getHeaderSize in class AbstractRecordsTableprotected int getRecordSize()
getRecordSize in class AbstractRecordsTableprotected int getImplVersion()
getImplVersion in class AbstractRecordsTableprotected byte[] getZeros()
getZeros in class AbstractRecordsTablepublic 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)