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

Packages that use ZkStateReader
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
`ZkStateReader` `CloudSolrServer.getZkStateReader()`

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

Methods in org.apache.solr.common.cloud with parameters of type ZkStateReader
`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
`ClusterState(Integer zkClusterStateVersion, Set<String> liveNodes, Map<String,DocCollection> collectionStates, ZkStateReader stateReader)` Use this constr when ClusterState is meant for consumption.

Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.