public class VariableBase extends Object implements Variable
Modifier and Type | Class and Description |
---|---|
static class |
VariableBase.CoreIndexSizeVariable |
static class |
VariableBase.DiskTypeVariable |
static class |
VariableBase.LazyVariable |
static class |
VariableBase.TotalDiskVariable |
Variable.Meta, Variable.Type
coreidxsize, NULL
Constructor and Description |
---|
VariableBase(Variable.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
compareViolation(Violation v1,
Violation v2) |
void |
getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx) |
static Variable.Type |
getTagType(String name) |
String |
postValidate(Condition condition) |
Object |
validate(String name,
Object val,
boolean isRuleVal) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addViolatingReplicas, computeDeviation, computeValue, convertVal, getOperand, match, projectAddReplica, projectRemoveReplica
public VariableBase(Variable.Type type)
public void getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)
getSuggestions
in interface Variable
public String postValidate(Condition condition)
postValidate
in interface Variable
public static Variable.Type getTagType(String name)
public int compareViolation(Violation v1, Violation v2)
compareViolation
in interface Variable
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.