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)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compareViolation(Violation v1,
Violation v2)
Deprecated.
|
void |
computeDeviation(Policy.Session session,
double[] deviation,
org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount replicaCount,
SealedClause sealedClause)
Deprecated.
|
Object |
computeValue(Policy.Session session,
Condition condition,
String collection,
String shard,
String node)
Deprecated.
When a non constant value is used in a variable, the actual value needs to be computed at the runtime
|
Object |
convertVal(Object val)
Deprecated.
|
void |
getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)
Deprecated.
|
void |
projectAddReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> ops,
boolean strictMode)
Deprecated.
|
void |
projectRemoveReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector)
Deprecated.
|
getTagType, postValidate, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addViolatingReplicas, getOperand, match
public FreeDiskVariable(Variable.Type type)
public Object computeValue(Policy.Session session, Condition condition, String collection, String shard, String node)
Variable
public int compareViolation(Violation v1, Violation v2)
compareViolation
in interface Variable
compareViolation
in class VariableBase
public void computeDeviation(Policy.Session session, double[] deviation, org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount replicaCount, SealedClause sealedClause)
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-2021 Apache Software Foundation. All Rights Reserved.