public interface PositionDependentRecord
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.
(写出后,更新 Record 关于它在磁盘上的位置的想法。)
|
void |
updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
Offer the record the list of records that have changed their location as part of the writeout.
(为记录提供已更改位置的记录列表作为写出的一部分。)
|
int getLastOnDiskOffset()
void setLastOnDiskOffset(int offset)
void updateOtherRecordReferences(java.util.Map<java.lang.Integer,java.lang.Integer> oldToNewReferencesLookup)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.