Class ZooKeeperOptions

java.lang.Object
org.apache.zookeeper.client.ZooKeeperOptions

@Private public class ZooKeeperOptions extends Object
Options to construct ZooKeeper and ZooKeeperAdmin.
  • Method Details

    • getConnectString

      public String getConnectString()
    • getSessionTimeoutMs

      public int getSessionTimeoutMs()
    • getNewSessionTimeoutMs

      public long getNewSessionTimeoutMs()
    • getDefaultWatcher

      public Watcher getDefaultWatcher()
    • getHostProvider

      public Function<Collection<InetSocketAddress>,HostProvider> getHostProvider()
    • isCanBeReadOnly

      public boolean isCanBeReadOnly()
    • getSessionId

      public long getSessionId()
    • getSessionPasswd

      public byte[] getSessionPasswd()
    • getClientConfig

      public ZKClientConfig getClientConfig()