qqu0127 commented on code in PR #2333:
URL: https://github.com/apache/helix/pull/2333#discussion_r1063852405
##########
zookeeper-api/src/main/java/org/apache/helix/zookeeper/impl/client/ZkClient.java:
##########
@@ -187,6 +197,16 @@ public static class Builder {
String _monitorKey;
String _monitorInstanceName = null;
boolean _monitorRootPathOnly = true;
+ boolean _connectOnInit = true;
+
+ /**
+ * If set true, the client will connect to ZK during initialization.
+ * Otherwise, user has to call connect() method explicitly before talking
to ZK.
+ */
+ public Builder setConnectOnInit(boolean connectOnInit) {
Review Comment:
Sorry, I don't get it. This is the builder class, not zkclient itself.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]