## Uses of Class
org.apache.solr.common.cloud.SolrZkClient

Packages that use SolrZkClient
org.apache.solr.client.solrj.impl: Concrete implementations of client API classes.
org.apache.solr.common.cloud: Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
org.apache.solr.common.util: Common utility classes reused on both clients & server.

### Uses of SolrZkClient in org.apache.solr.client.solrj.impl

Methods in org.apache.solr.client.solrj.impl that return SolrZkClient
`SolrZkClient` SolrClientCloudManager.`getZkClient()`
`SolrZkClient` ZkDistribStateManager.`getZkClient()`

Constructors in org.apache.solr.client.solrj.impl with parameters of type SolrZkClient
Constructor and Description
`ZkDistribStateManager(SolrZkClient zkClient)`

### Uses of SolrZkClient in org.apache.solr.common.cloud

Methods in org.apache.solr.common.cloud that return SolrZkClient
`SolrZkClient` ZkStateReader.`getZkClient()`

Methods in org.apache.solr.common.cloud with parameters of type SolrZkClient
`static void` ZkMaintenanceUtils.`clean(SolrZkClient zkClient, String path)`
`static void` ZkMaintenanceUtils.`clean(SolrZkClient zkClient, String path, Predicate<String> filter)` Delete a path and all of its sub nodes
`static void` ZkMaintenanceUtils.`downConfig(SolrZkClient zkClient, String confName, Path confPath)`
`static void` ZkMaintenanceUtils.`downloadFromZK(SolrZkClient zkClient, String zkPath, Path file)`
`void` ZkCmdExecutor.`ensureExists(String path, byte[] data, org.apache.zookeeper.CreateMode createMode, SolrZkClient zkClient)`
`void` ZkCmdExecutor.`ensureExists(String path, byte[] data, org.apache.zookeeper.CreateMode createMode, SolrZkClient zkClient, int skipPathParts)`
`void` ZkCmdExecutor.`ensureExists(String path, byte[] data, SolrZkClient zkClient)`
`void` ZkCmdExecutor.`ensureExists(String path, SolrZkClient zkClient)`
`static PerReplicaStates` PerReplicaStates.`fetch(String path, SolrZkClient zkClient, PerReplicaStates current)` Fetch the latest `PerReplicaStates` .
`static String` ZkMaintenanceUtils.`listZnode(SolrZkClient zkClient, String path, Boolean recurse)` Lists a ZNode child and (optionally) the znodes of all the children.
`static void` ZkMaintenanceUtils.`moveZnode(SolrZkClient zkClient, String src, String dst)`
`void` PerReplicaStatesOps.`persist(String znode, SolrZkClient zkClient)` This is a persist operation with retry if a write fails due to stale state
`static void` ZkMaintenanceUtils.`traverseZkTree(SolrZkClient zkClient, String path, ZkMaintenanceUtils.VISIT_ORDER visitOrder, ZkMaintenanceUtils.ZkVisitor visitor)` Recursively visit a zk tree rooted at path and apply the given visitor to each path.
`static void` ZkMaintenanceUtils.`upConfig(SolrZkClient zkClient, Path confPath, String confName)`
`static void` ZkMaintenanceUtils.`uploadToZK(SolrZkClient zkClient, Path fromPath, String zkPath, Pattern filenameExclusions)`
`static void` ZkMaintenanceUtils.`zkTransfer(SolrZkClient zkClient, String src, Boolean srcIsZk, String dst, Boolean dstIsZk, Boolean recurse)` Copy between local file system and Zookeeper, or from one Zookeeper node to another, optionally copying recursively.

Constructors in org.apache.solr.common.cloud with parameters of type SolrZkClient
Constructor and Description
`ClusterProperties(SolrZkClient client)` Creates a ClusterProperties object using a provided SolrZkClient
`CollectionProperties(SolrZkClient client)` Creates a CollectionProperties object using a provided SolrZkClient
`ConnectionManager(String name, SolrZkClient client, String zkServerAddress, ZkClientConnectionStrategy strat, OnReconnect onConnect, BeforeReconnect beforeReconnect, ConnectionManager.IsClosed isClosed)`
`ZkConfigManager(SolrZkClient zkClient)` Creates a new ZkConfigManager
`ZkStateReader(SolrZkClient zkClient)`
`ZkStateReader(SolrZkClient zkClient, Runnable securityNodeListener)`

### Uses of SolrZkClient in org.apache.solr.common.util

Methods in org.apache.solr.common.util with parameters of type SolrZkClient
`static Map<String,Object>` Utils.`getJson(SolrZkClient zkClient, String path, boolean retryOnConnLoss)` Assumes data in ZooKeeper is a JSON string, deserializes it and returns as a Map