public class WaitqueueEvaluator extends BasicEvaluator<java.lang.Integer>
Modifier and Type | Field and Description |
---|---|
protected int |
max
The wait queue cutoff len.
|
component, methodinfo, propertyname, required, unit
Constructor and Description |
---|
WaitqueueEvaluator(IExternalAccess component,
MethodInfo mi)
Create a new evaluator.
|
WaitqueueEvaluator(IExternalAccess component,
MethodInfo mi,
int max)
Create a new evaluator.
|
Modifier and Type | Method and Description |
---|---|
double |
calculateEvaluation(java.lang.Integer value)
Calculate the value with 1 best and 0 worst.
|
evaluate, getPropertyValue
public WaitqueueEvaluator(IExternalAccess component, MethodInfo mi) throws java.lang.Exception
java.lang.Exception
public WaitqueueEvaluator(IExternalAccess component, MethodInfo mi, int max) throws java.lang.Exception
java.lang.Exception
public double calculateEvaluation(java.lang.Integer value)
calculateEvaluation
in class BasicEvaluator<java.lang.Integer>