Uses of Interface org.apache.zookeeper.client.HostProvider (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

## Uses of Interface
org.apache.zookeeper.client.HostProvider

- Packages that use HostProvider
  Package | Description
  --- | ---
  org.apache.zookeeper |
  org.apache.zookeeper.client |

- - ### Uses of HostProvider in org.apache.zookeeper

    Fields in org.apache.zookeeper declared as HostProvider
    Modifier and Type | Field and Description
    --- | ---
    `protected HostProvider` | ZooKeeper.`hostProvider`

    Constructors in org.apache.zookeeper with parameters of type HostProvider
    Constructor and Description
    `ClientCnxn(String chrootPath, HostProvider hostProvider, int sessionTimeout, ZKClientConfig clientConfig, Watcher defaultWatcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, boolean canBeReadOnly)` Creates a connection object.
    `ClientCnxn(String chrootPath, HostProvider hostProvider, int sessionTimeout, ZKClientConfig clientConfig, Watcher defaultWatcher, org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket, long sessionId, byte[] sessionPasswd, boolean canBeReadOnly)` Creates a connection object.
    `ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, boolean canBeReadOnly, HostProvider aHostProvider)` To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
    `ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, boolean canBeReadOnly, HostProvider hostProvider, ZKClientConfig clientConfig)` To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
    `ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, long sessionId, byte[] sessionPasswd, boolean canBeReadOnly, HostProvider aHostProvider)` To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.
    `ZooKeeper(String connectString, int sessionTimeout, Watcher watcher, long sessionId, byte[] sessionPasswd, boolean canBeReadOnly, HostProvider hostProvider, ZKClientConfig clientConfig)` To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.

  - ### Uses of HostProvider in org.apache.zookeeper.client

    Classes in org.apache.zookeeper.client that implement HostProvider
    Modifier and Type | Class and Description
    --- | ---
    `class` | `StaticHostProvider` Most simple HostProvider, resolves on every next() call.

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.