|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MemoryConstraint | |
---|---|
org.quartz.locality.constraint | |
org.quartz.locality.constraint.evaluator |
Uses of MemoryConstraint in org.quartz.locality.constraint |
---|
Methods in org.quartz.locality.constraint that return MemoryConstraint | |
---|---|
static MemoryConstraint |
MemoryConstraint.atLeastAvailable(int amount,
MemoryConstraint.Unit unit)
Creates a MemoryConstraint for at least an amount of memory available |
static MemoryConstraint |
MemoryConstraint.orderDescending()
Returns a MemoryConstraint to sort the nodes by memory available |
Uses of MemoryConstraint in org.quartz.locality.constraint.evaluator |
---|
Methods in org.quartz.locality.constraint.evaluator with parameters of type MemoryConstraint | |
---|---|
boolean |
MemoryEvaluator.matches(MemoryConstraint constraint)
Evaluates the constraint against local node. |
boolean |
MemoryEvaluator.matches(MemoryConstraint constraint,
String node)
Verifies whether the constraint passed is validating on the node |
List<String> |
MemoryEvaluator.suitedNodes(MemoryConstraint constraint)
Returns a list of best suited node (instanceId) based on the constraint |
void |
MemoryEvaluator.verify(MemoryConstraint constraint)
Always true |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |