本文整理了Java中org.apache.zookeeper.ZooKeeper.toString()
方法的一些代码示例,展示了ZooKeeper.toString()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ZooKeeper.toString()
方法的具体详情如下:
包路径:org.apache.zookeeper.ZooKeeper
类名称:ZooKeeper
方法名:toString
[英]String representation of this ZooKeeper client. Suitable for things like logging. Do NOT count on the format of this string, it may change without warning.
[中]此ZooKeeper客户端的字符串表示形式。适用于日志记录之类的事情。不要指望此字符串的格式,它可能会在没有警告的情况下更改。
代码示例来源:origin: apache/zookeeper
/**
* String representation of this ZooKeeperAdmin client. Suitable for things
* like logging.
*
* Do NOT count on the format of this string, it may change without
* warning.
*
* @since 3.5.3
*/
@Override
public String toString() {
return super.toString();
}
}
代码示例来源:origin: com.linkedin.pegasus/d2
@Override
public String toString()
{
return _zk.toString();
}
}
代码示例来源:origin: org.apache.bookkeeper/bookkeeper-server
@Override
public String toString() {
ZooKeeper zkHandle = zk.get();
if (null == zkHandle) {
return ZooKeeperClient.super.toString();
} else {
return zkHandle.toString();
}
}
代码示例来源:origin: org.apache.pulsar/pulsar-proxy
@Override
public String toString() {
ZooKeeper zkHandle = zk.get();
if (null == zkHandle) {
return BkZooKeeperClient.super.toString();
} else {
return zkHandle.toString();
}
}
代码示例来源:origin: griddynamics/jagger
@Override
public String toString() {
return "Wrapper for " + getDelegate().toString();
}
}
内容来源于网络,如有侵权,请联系作者删除!