|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.locality.constraint.MemoryConstraint
public class MemoryConstraint
Constraint on memory characteristics of the node to execute the Job on
MemoryEvaluator,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
MemoryConstraint.Operator
|
static class |
MemoryConstraint.Unit
Memory units |
| Constructor Summary | |
|---|---|
MemoryConstraint(MemoryConstraint.Operator op,
long value)
MemoryConstraint constructor |
|
| Method Summary | |
|---|---|
static MemoryConstraint |
atLeastAvailable(int amount,
MemoryConstraint.Unit unit)
Creates a MemoryConstraint for at least an amount of memory available |
boolean |
equals(Object obj)
|
MemoryConstraint.Operator |
getOp()
Getter to operator |
int |
hashCode()
|
boolean |
matches(Long actual)
|
static MemoryConstraint |
orderDescending()
Returns a MemoryConstraint to sort the nodes by memory available |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemoryConstraint(MemoryConstraint.Operator op,
long value)
op - Operation to validate againstvalue - Target value| Method Detail |
|---|
public boolean matches(Long actual)
public MemoryConstraint.Operator getOp()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
public static MemoryConstraint atLeastAvailable(int amount,
MemoryConstraint.Unit unit)
MemoryConstraint for at least an amount of memory available
amount - minimum amountunit - Memory unit
MemoryConstraint instancepublic static MemoryConstraint orderDescending()
MemoryConstraint to sort the nodes by memory available
MemoryConstraint instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||