org.apache.hadoop.hdfs.server.namenode.snapshot
Class SnapshotFSImageFormat.ReferenceMap
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.snapshot.SnapshotFSImageFormat.ReferenceMap
- Enclosing class:
- SnapshotFSImageFormat
public static class SnapshotFSImageFormat.ReferenceMap
- extends Object
A reference map for fsimage serialization.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotFSImageFormat.ReferenceMap
public SnapshotFSImageFormat.ReferenceMap()
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
Copyright © 2014 Apache Software Foundation. All Rights Reserved.