public abstract class PositionDependentRecordAtom extends RecordAtom implements PositionDependentRecord
Modifier and Type | Field and Description |
---|---|
protected int |
myLastOnDiskOffset
Our location on the disk, as of the last write out
|
Constructor and Description |
---|
PositionDependentRecordAtom() |
Modifier and Type | Method and Description |
---|---|
int |
getLastOnDiskOffset()
Fetch our location on the disk, as of the last write out
|
void |
setLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out.
|
abstract void |
updateOtherRecordReferences(java.util.Hashtable<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
Offer the record the list of records that have changed their
location as part of the writeout.
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
protected int myLastOnDiskOffset
public int getLastOnDiskOffset()
getLastOnDiskOffset
in interface PositionDependentRecord
public void setLastOnDiskOffset(int offset)
setLastOnDiskOffset
in interface PositionDependentRecord
public abstract void updateOtherRecordReferences(java.util.Hashtable<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
updateOtherRecordReferences
in interface PositionDependentRecord
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.