Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Replica.State |
ReplicaInfo.getState()
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Replica.State |
CoreAdminRequest.WaitForState.state |
Modifier and Type | Method and Description |
---|---|
Replica.State |
CoreAdminRequest.WaitForState.getState() |
Modifier and Type | Method and Description |
---|---|
void |
CoreAdminRequest.WaitForState.setState(Replica.State state) |
Modifier and Type | Field and Description |
---|---|
Replica.State |
PerReplicaStates.State.state |
Modifier and Type | Method and Description |
---|---|
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)
Returns the enum constant of this type with the specified name.
|
static Replica.State[] |
Replica.State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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) |
Constructor and Description |
---|
State(String replica,
Replica.State state,
Boolean isLeader,
int version) |
State(String replica,
Replica.State state,
Boolean isLeader,
int version,
PerReplicaStates.State duplicate) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.