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 boolean |
ClusterStateUtil.isAutoAddReplicas(ZkStateReader reader,
String collection) |
static ClusterState |
ClusterState.load(SolrZkClient zkClient,
Set<String> liveNodes,
ZkStateReader stateReader)
Create ClusterState by reading the current state from zookeeper.
|
static boolean |
ClusterStateUtil.waitForAllActiveAndLive(ZkStateReader zkStateReader,
int timeoutInMs)
Wait to see *all* cores live and active.
|
static boolean |
ClusterStateUtil.waitForAllActiveAndLive(ZkStateReader zkStateReader,
String collection,
int timeoutInMs)
Wait to see *all* cores live and active.
|
static boolean |
ClusterStateUtil.waitForAllNotLive(ZkStateReader zkStateReader,
int timeoutInMs) |
static boolean |
ClusterStateUtil.waitForAllNotLive(ZkStateReader zkStateReader,
String collection,
int timeoutInMs) |
static boolean |
ClusterStateUtil.waitToSeeLive(ZkStateReader zkStateReader,
String collection,
String coreNodeName,
String baseUrl,
int timeoutInMs)
Wait to see an entry in the ClusterState with a specific coreNodeName and
baseUrl.
|
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.