Package | Description |
---|---|
org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
Modifier and Type | Method and Description |
---|---|
ClusterState |
ZkStateReader.getClusterState() |
static ClusterState |
ClusterState.load(Integer version,
byte[] bytes,
Set<String> liveNodes)
Create ClusterState from json string that is typically stored in zookeeper.
|
static ClusterState |
ClusterState.load(SolrZkClient zkClient,
Set<String> liveNodes)
Create ClusterState by reading the current state from zookeeper.
|
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.