Class SnapshotFSImageFormat.ReferenceMap
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap
- Enclosing class:
- SnapshotFSImageFormat
A reference map for fsimage serialization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionloadINodeReferenceWithCount(boolean isSnapshotINode, DataInput in, FSImageFormat.Loader loader) booleantoProcessSubtree(long id) voidwriteINodeReferenceWithCount(INodeReference.WithCount withCount, DataOutput out, boolean writeUnderConstruction)
-
Constructor Details
-
ReferenceMap
public ReferenceMap()
-
-
Method Details
-
writeINodeReferenceWithCount
public void writeINodeReferenceWithCount(INodeReference.WithCount withCount, DataOutput out, boolean writeUnderConstruction) throws IOException - Throws:
IOException
-
toProcessSubtree
public boolean toProcessSubtree(long id) -
loadINodeReferenceWithCount
public INodeReference.WithCount loadINodeReferenceWithCount(boolean isSnapshotINode, DataInput in, FSImageFormat.Loader loader) throws IOException - Throws:
IOException
-