| Package | Description |
|---|---|
| org.apache.solr.cloud | |
| org.apache.solr.common.cloud |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SyncStrategy.sync(ZkController zkController,
SolrCore core,
ZkNodeProps leaderProps) |
| Constructor and Description |
|---|
ElectionContext(String shardZkNodeName,
String electionPath,
String leaderPath,
ZkNodeProps leaderProps,
SolrZkClient zkClient) |
| Modifier and Type | Method and Description |
|---|---|
ZkNodeProps |
ClusterState.getLeader(String collection,
String shard)
Get properties of a shard leader for specific collection.
|
ZkNodeProps |
ZkStateReader.getLeaderProps(String collection,
String shard)
Get shard leader properties.
|
ZkNodeProps |
ZkStateReader.getLeaderProps(String collection,
String shard,
int timeout) |
ZkNodeProps |
ZkCoreNodeProps.getNodeProps() |
ZkNodeProps |
ClusterState.getShardProps(String collection,
String coreNodeName)
Get shard properties or null if shard is not found.
|
static ZkNodeProps |
ZkNodeProps.load(byte[] bytes)
Create ZkNodeProps from json string that is typically stored in zookeeper.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,ZkNodeProps> |
Slice.getShards()
Get properties for all shards in this slice.
|
Map<String,ZkNodeProps> |
Slice.getShardsCopy()
Get a copy of the shards data this object holds.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ZkCoreNodeProps.getCoreUrl(ZkNodeProps nodeProps) |
| Constructor and Description |
|---|
ZkCoreNodeProps(ZkNodeProps nodeProps) |
ZkNodeProps(ZkNodeProps zkNodeProps)
Construct ZKNodeProps from information of an existingZKNodeProps.
|
| Constructor and Description |
|---|
Slice(String name,
Map<String,ZkNodeProps> shards) |
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.