本文整理了Java中org.apache.hadoop.registry.client.impl.zk.ZKPathDumper.<init>()
方法的一些代码示例,展示了ZKPathDumper.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZKPathDumper.<init>()
方法的具体详情如下:
包路径:org.apache.hadoop.registry.client.impl.zk.ZKPathDumper
类名称:ZKPathDumper
方法名:<init>
[英]Create a path dumper -but do not dump the path until asked
[中]创建一个路径转储程序——但在被要求之前不要转储路径
代码示例来源:origin: org.apache.hadoop/hadoop-yarn-registry
/**
* Return a path dumper instance which can do a full dump
* of the registry tree in its <code>toString()</code>
* operation.
*
* @param verbose verbose flag - includes more details (such as ACLs)
* @return a class to dump the registry
*/
public ZKPathDumper dumpPath(boolean verbose) {
return new ZKPathDumper(curator, registryRoot, verbose);
}
代码示例来源:origin: io.hops/hadoop-yarn-registry
/**
* Return a path dumper instance which can do a full dump
* of the registry tree in its <code>toString()</code>
* operation
* @return a class to dump the registry
* @param verbose verbose flag - includes more details (such as ACLs)
*/
public ZKPathDumper dumpPath(boolean verbose) {
return new ZKPathDumper(curator, registryRoot, verbose);
}
内容来源于网络,如有侵权,请联系作者删除!