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

- Packages that use ClusterState
  Package | Description
  --- | ---
  org.apache.solr.client.solrj.impl | Concrete implementations of client API classes.
  org.apache.solr.client.solrj.io.stream | Stream implementations for the Streaming Aggregation API
  org.apache.solr.common.cloud | Common Solr Cloud and ZooKeeper related classes reused on both clients & server.

- - ### Uses of ClusterState in org.apache.solr.client.solrj.impl

    Methods in org.apache.solr.client.solrj.impl with parameters of type ClusterState
    Modifier and Type | Method and Description
    --- | ---
    `protected DocCollection` | CloudSolrClient.`getDocCollection(ClusterState clusterState, String collection, Integer expectedVersion)`

  - ### Uses of ClusterState in org.apache.solr.client.solrj.io.stream

    Methods in org.apache.solr.client.solrj.io.stream with parameters of type ClusterState
    Modifier and Type | Method and Description
    --- | ---
    `static Collection<Slice>` | CloudSolrStream.`getSlicesIgnoreCase(String name, ClusterState clusterState)`

  - ### Uses of ClusterState in org.apache.solr.common.cloud

    Fields in org.apache.solr.common.cloud declared as ClusterState
    Modifier and Type | Field and Description
    --- | ---
    `protected ClusterState` | ZkStateReader.`clusterState` A view of the current state of all collections; combines all the different state sources into a single view.

    Methods in org.apache.solr.common.cloud that return ClusterState
    Modifier and Type | Method and Description
    --- | ---
    `ClusterState` | ClusterState.`copyWith(String collectionName, DocCollection collection)` Returns a new cluster state object modified with the given collection.
    `ClusterState` | ZkStateReader.`getClusterState()`
    `static ClusterState` | ClusterState.`load(Integer version, byte[] bytes, Set<String> liveNodes)`
    `static ClusterState` | ClusterState.`load(Integer version, byte[] bytes, Set<String> liveNodes, String znode)` Create ClusterState from json string that is typically stored in zookeeper.

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