org.apache.hadoop.hdfs.server.namenode.snapshot
Class SnapshotFSImageFormat.ReferenceMap

java.lang.Object
  extended by 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.


Constructor Summary
SnapshotFSImageFormat.ReferenceMap()
           
 
Method Summary
 INodeReference.WithCount loadINodeReferenceWithCount(boolean isSnapshotINode, DataInput in, FSImageFormat.Loader loader)
           
 boolean toProcessSubtree(long id)
           
 void writeINodeReferenceWithCount(INodeReference.WithCount withCount, DataOutput out, boolean writeUnderConstruction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnapshotFSImageFormat.ReferenceMap

public SnapshotFSImageFormat.ReferenceMap()
Method Detail

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.