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.
|
Modifier and Type | Method and Description |
---|---|
ZkStateReader |
CloudSolrServer.getZkStateReader() |
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.
|
Constructor and Description |
---|
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.