public interface Variable
Modifier and Type | Interface and Description |
---|---|
static interface |
Variable.Meta
Deprecated.
|
static class |
Variable.Type
Deprecated.
Type details of each variable in policies
|
Modifier and Type | Field and Description |
---|---|
static String |
coreidxsize
Deprecated.
|
static String |
NULL
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
default boolean |
addViolatingReplicas(org.apache.solr.client.solrj.cloud.autoscaling.Violation.Ctx ctx)
Deprecated.
|
int |
compareViolation(Violation v1,
Violation v2)
Deprecated.
|
default void |
computeDeviation(Policy.Session session,
double[] deviations,
org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount replicaCount,
SealedClause sealedClause)
Deprecated.
|
default 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
|
default Object |
convertVal(Object val)
Deprecated.
|
default Operand |
getOperand(Operand expected,
Object strVal,
ComputedType computedType)
Deprecated.
|
void |
getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)
Deprecated.
|
default boolean |
match(Object inputVal,
Operand op,
Object val,
String name,
Row row)
Deprecated.
|
default String |
postValidate(Condition condition)
Deprecated.
|
default void |
projectAddReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector,
boolean strictMode)
Deprecated.
|
default void |
projectRemoveReplica(Cell cell,
ReplicaInfo ri,
Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector)
Deprecated.
|
Object |
validate(String name,
Object val,
boolean isRuleVal)
Deprecated.
|
static final String NULL
static final String coreidxsize
default boolean match(Object inputVal, Operand op, Object val, String name, Row row)
default void projectAddReplica(Cell cell, ReplicaInfo ri, Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector, boolean strictMode)
default boolean addViolatingReplicas(org.apache.solr.client.solrj.cloud.autoscaling.Violation.Ctx ctx)
void getSuggestions(org.apache.solr.client.solrj.cloud.autoscaling.Suggestion.Ctx ctx)
default Object computeValue(Policy.Session session, Condition condition, String collection, String shard, String node)
default void computeDeviation(Policy.Session session, double[] deviations, org.apache.solr.client.solrj.cloud.autoscaling.ReplicaCount replicaCount, SealedClause sealedClause)
default void projectRemoveReplica(Cell cell, ReplicaInfo ri, Consumer<org.apache.solr.client.solrj.cloud.autoscaling.Row.OperationInfo> opCollector)
default Operand getOperand(Operand expected, Object strVal, ComputedType computedType)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.