Class ZooKeeperClient.Builder

  • Enclosing class:
    ZooKeeperClient

    public static class ZooKeeperClient.Builder
    extends java.lang.Object
    A builder to build retryable zookeeper client.
    • Field Detail

      • connectString

        java.lang.String connectString
      • sessionTimeoutMs

        int sessionTimeoutMs
      • watchers

        java.util.Set<org.apache.zookeeper.Watcher> watchers
      • operationRetryPolicy

        RetryPolicy operationRetryPolicy
      • retryExecThreadCount

        int retryExecThreadCount
      • requestRateLimit

        double requestRateLimit
      • allowReadOnlyMode

        boolean allowReadOnlyMode