public static enum Suggestion.ConditionType extends Enum<Suggestion.ConditionType>
Enum Constant and Description |
---|
COLL |
CORE_IDX |
CORES |
FREEDISK |
HEAPUSAGE |
IP_1 |
IP_2 |
IP_3 |
IP_4 |
LAZY |
NODE |
NODE_ROLE |
NUMBER |
PORT |
REPLICA |
SHARD |
STRING |
SYSLOADAVG |
Modifier and Type | Field and Description |
---|---|
String |
perReplicaValue |
String |
tagName |
Modifier and Type | Method and Description |
---|---|
void |
addViolatingReplicas(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.ViolationCtx ctx) |
Object |
convertVal(Object val) |
void |
getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.SuggestionCtx ctx) |
Object |
validate(String name,
Object val,
boolean isRuleVal) |
static Suggestion.ConditionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Suggestion.ConditionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Suggestion.ConditionType COLL
public static final Suggestion.ConditionType SHARD
public static final Suggestion.ConditionType REPLICA
public static final Suggestion.ConditionType PORT
public static final Suggestion.ConditionType IP_1
public static final Suggestion.ConditionType IP_2
public static final Suggestion.ConditionType IP_3
public static final Suggestion.ConditionType IP_4
public static final Suggestion.ConditionType FREEDISK
public static final Suggestion.ConditionType CORE_IDX
public static final Suggestion.ConditionType NODE_ROLE
public static final Suggestion.ConditionType CORES
public static final Suggestion.ConditionType SYSLOADAVG
public static final Suggestion.ConditionType HEAPUSAGE
public static final Suggestion.ConditionType NUMBER
public static final Suggestion.ConditionType STRING
public static final Suggestion.ConditionType NODE
public static final Suggestion.ConditionType LAZY
public final String tagName
public final String perReplicaValue
public static Suggestion.ConditionType[] values()
for (Suggestion.ConditionType c : Suggestion.ConditionType.values()) System.out.println(c);
public static Suggestion.ConditionType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic void getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.SuggestionCtx ctx)
public void addViolatingReplicas(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.ViolationCtx ctx)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.