Class INodeCountVisitor
java.lang.Object
org.apache.hadoop.hdfs.server.namenode.visitor.INodeCountVisitor
- All Implemented Interfaces:
NamespaceVisitor
For validating
FSImages.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.hadoop.hdfs.server.namenode.visitor.NamespaceVisitor
NamespaceVisitor.Element, NamespaceVisitor.INodeVisitor -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.hdfs.server.namenode.visitor.NamespaceVisitor
postVisitReferred, postVisitSub, preVisitReferred, preVisitSub, visitDirectory, visitDirectoryRecursively, visitFile, visitReference, visitReferenceRecursively, visitSnapshottable, visitSubs, visitSymlink
-
Constructor Details
-
INodeCountVisitor
public INodeCountVisitor()
-
-
Method Details
-
countTree
-
getDefaultVisitor
- Specified by:
getDefaultVisitorin interfaceNamespaceVisitor- Returns:
- the default (non-recursive)
NamespaceVisitor.INodeVisitor.
-