public class FreeDiskVariable extends VariableBase
VariableBase.CoreIndexSizeVariable, VariableBase.DiskTypeVariable, VariableBase.LazyVariable, VariableBase.TotalDiskVariable
Variable.Meta, Variable.Type
coreidxsize, NULL
Constructor and Description |
---|
FreeDiskVariable(Variable.Type type) |
Modifier and Type | Method and Description |
---|---|
int |
compareViolation(Violation v1,
Violation v2) |
Object |
computeValue(Policy.Session session,
Condition condition,
String collection,
String shard,
String node) |
Object |
convertVal(Object val) |
void |
getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx) |
void |
projectAddReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> ops,
boolean strictMode) |
void |
projectRemoveReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector) |
getTagType, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addViolatingReplicas, getOperand, match, postValidate
public FreeDiskVariable(Variable.Type type)
public Object computeValue(Policy.Session session, Condition condition, String collection, String shard, String node)
public int compareViolation(Violation v1, Violation v2)
compareViolation
in interface Variable
compareViolation
in class VariableBase
public void getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)
getSuggestions
in interface Variable
getSuggestions
in class VariableBase
public void projectAddReplica(Cell cell, ReplicaInfo ri, Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> ops, boolean strictMode)
public void projectRemoveReplica(Cell cell, ReplicaInfo ri, Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.