Package | Description |
---|---|
org.apache.hadoop.hdfs.server.namenode.visitor |
Use the visitor pattern to visit namespace tree.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<NamespaceVisitor.Element> |
NamespaceVisitor.getChildren(INodeDirectory dir,
int snapshot) |
static Iterable<NamespaceVisitor.Element> |
NamespaceVisitor.getSnapshots(org.apache.hadoop.hdfs.server.namenode.snapshot.DirectorySnapshottableFeature snapshottable) |
Modifier and Type | Method and Description |
---|---|
void |
NamespacePrintVisitor.postVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast) |
default void |
NamespaceVisitor.postVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast)
Right after visiting the given sub
NamespaceVisitor.Element . |
void |
NamespacePrintVisitor.preVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast) |
default void |
NamespaceVisitor.preVisitSub(NamespaceVisitor.Element sub,
int index,
boolean isLast)
Right before visiting the given sub
NamespaceVisitor.Element . |
Modifier and Type | Method and Description |
---|---|
default void |
NamespaceVisitor.visitSubs(Iterable<NamespaceVisitor.Element> subs)
Visiting the sub
NamespaceVisitor.Element s recursively. |
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.