Class ZKPathDumper
java.lang.Object
org.apache.hadoop.registry.client.impl.zk.ZKPathDumper
This class dumps a registry tree to a string.
It does this in the
toString() method, so it
can be used in a log statement -the operation
will only take place if the method is evaluated.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionZKPathDumper(org.apache.curator.framework.CuratorFramework curator, String root, boolean verbose) Create a path dumper -but do not dump the path until asked -
Method Summary
-
Field Details
-
INDENT
public static final int INDENT- See Also:
-
-
Constructor Details
-
ZKPathDumper
public ZKPathDumper(org.apache.curator.framework.CuratorFramework curator, String root, boolean verbose) Create a path dumper -but do not dump the path until asked- Parameters:
curator- curator instanceroot- rootverbose- verbose flag - includes more details (such as ACLs)
-
-
Method Details