Class VariableBase
- java.lang.Object
- 
- org.apache.solr.client.solrj.cloud.autoscaling.VariableBase
 
- 
- All Implemented Interfaces:
- Variable
 - Direct Known Subclasses:
- CoresVariable,- FreeDiskVariable,- NodeVariable,- VariableBase.CoreIndexSizeVariable,- VariableBase.DiskTypeVariable,- VariableBase.LazyVariable,- VariableBase.TotalDiskVariable,- WithCollectionVariable
 
 public class VariableBase extends Object implements Variable 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classVariableBase.CoreIndexSizeVariablestatic classVariableBase.DiskTypeVariablestatic classVariableBase.LazyVariablestatic classVariableBase.TotalDiskVariable- 
Nested classes/interfaces inherited from interface org.apache.solr.client.solrj.cloud.autoscaling.VariableVariable.Meta, Variable.Type
 
- 
 - 
Field Summary- 
Fields inherited from interface org.apache.solr.client.solrj.cloud.autoscaling.Variablecoreidxsize, NULL
 
- 
 - 
Constructor SummaryConstructors Constructor Description VariableBase(Variable.Type type)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareViolation(Violation v1, Violation v2)voidgetSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)static Variable.TypegetTagType(String name)StringpostValidate(Condition condition)Objectvalidate(String name, Object val, boolean isRuleVal)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.apache.solr.client.solrj.cloud.autoscaling.VariableaddViolatingReplicas, computeDeviation, computeValue, convertVal, getOperand, match, projectAddReplica, projectRemoveReplica
 
- 
 
- 
- 
- 
Constructor Detail- 
VariableBasepublic VariableBase(Variable.Type type) 
 
- 
 - 
Method Detail- 
getSuggestionspublic void getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx) - Specified by:
- getSuggestionsin interface- Variable
 
 - 
postValidatepublic String postValidate(Condition condition) - Specified by:
- postValidatein interface- Variable
 
 - 
getTagTypepublic static Variable.Type getTagType(String name) 
 - 
compareViolationpublic int compareViolation(Violation v1, Violation v2) - Specified by:
- compareViolationin interface- Variable
 
 
- 
 
-