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

Packages that use ZkStateReader
Package | Description
--- | ---
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.

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

Methods in org.apache.solr.client.solrj.impl that return ZkStateReader
Modifier and Type | Method and Description
--- | ---
`ZkStateReader` | CloudSolrServer.`getZkStateReader()`

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

Methods in org.apache.solr.common.cloud with parameters of type ZkStateReader
Modifier and Type | Method and Description
--- | ---
`static ClusterState` | ClusterState.`load(Integer version, byte[] bytes, Set<String> liveNodes, ZkStateReader stateReader)` Create ClusterState from json string that is typically stored in zookeeper.
`static ClusterState` | ClusterState.`load(SolrZkClient zkClient, Set<String> liveNodes, ZkStateReader stateReader)` Create ClusterState by reading the current state from zookeeper.

Constructors in org.apache.solr.common.cloud with parameters of type ZkStateReader
Constructor and Description
`ClusterState(Integer zkClusterStateVersion, Set<String> liveNodes, Map<String,DocCollection> collectionStates, ZkStateReader stateReader)` Use this constr when ClusterState is meant for consumption.