@NotStorableClass public class AutoSaveHeapFileDataManager extends HeapFileDataManager
heapElementManager
CLEAR_STANDBY_MODIFICATION_FAILED, FAILED_READ_DATA_RECORD, FLUSH_FAILED, logger
Constructor and Description |
---|
AutoSaveHeapFileDataManager(HeapFileSetup setup,
boolean manageNodeIndex,
int maxRecord) |
accept, backup, clearImpl, clearStandbyModificationImpl, closeHeapManagerAfterException, createHeapRecord, dataRecordIteratorImpl, flushImp, freeSizeImpl, getDataRecordIdentifierSetImpl, getFreeNodeTree, getHeapElementManager, getIdNodeTree, getLastRecordPositionInFile, getNumberOfDataRecordImpl, getNumberOfFreeRecordImpl, getStorageFileName, heapSizeImpl, isDataLost, nextDataRecordIdentifier, removeFiles, removeFirstDataRecordImpl, setDataRecordKeyManager, startServiceImpl, stopServiceImpl, usedSizeImpl
ceilingDataRecordIdentifier, clear, clearStandbyModification, dataRecordIterator, deleteDataRecord, firstDataRecordIdentifier, floorDataRecordIdentifier, flush, freeSize, getDataRecordIdentifierSet, getNewDataRecordIdentifier, getNextFreeDataRecordIdentifier, getNumberOfDataRecord, getNumberOfFreeRecord, hasDataRecord, heapSize, higherDataRecordIdentifier, isServiceStarted, lastDataRecordIdentifier, lowerDataRecordIdentifier, readDataRecord, removeFirstDataRecord, setNextFreeDataRecordIdentifier, startService, stopService, stopService, usedSize, writeDataRecord
public AutoSaveHeapFileDataManager(HeapFileSetup setup, boolean manageNodeIndex, int maxRecord) throws HeapException
HeapException
protected DataRecordIdentifier getNextFreeDataRecordIdentifierImpl() throws HeapException
getNextFreeDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected void setNextFreeDataRecordIdentifierImpl(DataRecordIdentifier dataRecordIdentifier) throws HeapException
setNextFreeDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier getNewDataRecordIdentifierImpl() throws HeapException
AbstractHeapDataManager
getNewDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
public byte[] readDataRecordImpl(DataRecordIdentifier dataRecordIdentifier) throws HeapException
readDataRecordImpl
in class HeapFileDataManager
HeapException
public boolean writeDataRecordImpl(DataRecordIdentifier dataRecordIdentifier, byte[] data) throws HeapException
writeDataRecordImpl
in class HeapFileDataManager
HeapException
public boolean deleteDataRecordImpl(DataRecordIdentifier dataRecordIdentifier) throws HeapException
deleteDataRecordImpl
in class HeapFileDataManager
HeapException
protected boolean hasDataRecordImpl(DataRecordIdentifier dataRecordIdentifier) throws HeapException
hasDataRecordImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier firstDataRecordIdentifierImpl() throws HeapException
firstDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
public DataRecordIdentifier nextDataRecordIdentifierImpl(DataRecordIdentifier dataRecordIdentifier) throws HeapException
nextDataRecordIdentifierImpl
in class AbstractHeapDataManager
HeapException
protected DataRecordIdentifier lastDataRecordIdentifierImpl() throws HeapException
lastDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier lowerDataRecordIdentifierImpl(DataRecordIdentifier identifier) throws HeapException
lowerDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier floorDataRecordIdentifierImpl(DataRecordIdentifier identifier) throws HeapException
floorDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier ceilingDataRecordIdentifierImpl(DataRecordIdentifier identifier) throws HeapException
ceilingDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
protected DataRecordIdentifier higherDataRecordIdentifierImpl(DataRecordIdentifier identifier) throws HeapException
higherDataRecordIdentifierImpl
in class HeapFileDataManager
HeapException
@Fortest public long getRecordPositionInfile(DataRecordIdentifier identifier) throws HeapException
IHeapDataManager
getRecordPositionInfile
in interface IHeapDataManager
getRecordPositionInfile
in class HeapFileDataManager
HeapException
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.