Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
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.
|
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-2017 Apache Software Foundation. All Rights Reserved.