PositionDependentRecord
DocumentEncryptionAtom
, PersistPtrHolder
, UserEditAtom
public abstract class PositionDependentRecordAtom extends RecordAtom implements PositionDependentRecord
Modifier and Type | Field | Description |
---|---|---|
protected int |
myLastOnDiskOffset |
Our location on the disk, as of the last write out
|
Constructor | Description |
---|---|
PositionDependentRecordAtom() |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildRecordAtOffset, createRecordForType, findChildRecords, getRecordType, writeLittleEndian, writeLittleEndian, writeOut
getChildRecords, isAnAtom
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 2018 The Apache Software Foundation or its licensors, as applicable.