| 程序包 | 说明 |
|---|---|
| org.apache.solr.client.solrj.cloud.autoscaling |
Common classes for autoscaling parsing filtering nodes and sorting
|
| org.apache.solr.client.solrj.request |
Convenience classes for dealing with various types of Solr requests.
|
| org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Replica.State |
ReplicaInfo.getState() |
| 限定符和类型 | 字段和说明 |
|---|---|
protected Replica.State |
CoreAdminRequest.WaitForState.state |
| 限定符和类型 | 方法和说明 |
|---|---|
Replica.State |
CoreAdminRequest.WaitForState.getState() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CoreAdminRequest.WaitForState.setState(Replica.State state) |
| 限定符和类型 | 字段和说明 |
|---|---|
Replica.State |
PerReplicaStates.State.state |
| 限定符和类型 | 方法和说明 |
|---|---|
Replica.State |
Replica.getState()
Returns the
Replica.State of this replica. |
static Replica.State |
Replica.getState(String c) |
static Replica.State |
Replica.State.getState(String stateStr)
Converts the state string to a State instance.
|
static Replica.State |
Replica.State.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Replica.State[] |
Replica.State.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static PerReplicaStatesOps |
PerReplicaStatesOps.addReplica(String replica,
Replica.State state,
boolean isLeader,
PerReplicaStates rs) |
static PerReplicaStatesOps |
PerReplicaStatesOps.flipState(String replica,
Replica.State newState,
PerReplicaStates rs)
Change the state of a replica
|
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter) |
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter,
Replica.State mustNotMatchStateFilter) |
List<ZkCoreNodeProps> |
ZkStateReader.getReplicaProps(String collection,
String shardId,
String thisCoreNodeName,
Replica.State mustMatchStateFilter,
Replica.State mustNotMatchStateFilter,
EnumSet<Replica.Type> acceptReplicaType) |
| 构造器和说明 |
|---|
State(String replica,
Replica.State state,
Boolean isLeader,
int version) |
State(String replica,
Replica.State state,
Boolean isLeader,
int version,
PerReplicaStates.State duplicate) |
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.