org.apache.hadoop.registry.client.impl.zk.ZKPathDumper.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-05 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(93)

本文整理了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>

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);
}

相关文章