|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CpuConstraint.Operator> org.quartz.locality.constraint.CpuConstraint.Operator
public static enum CpuConstraint.Operator
Enum Constant Summary | |
---|---|
amountOfCores
Amount of cores on the node |
|
availableThreads
Available threads in the scheduler's thread pool |
|
avgLoad
Average load on the node |
Method Summary | |
---|---|
boolean |
matches(Integer actual,
Integer value)
|
static CpuConstraint.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CpuConstraint.Operator[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CpuConstraint.Operator availableThreads
public static final CpuConstraint.Operator amountOfCores
public static final CpuConstraint.Operator avgLoad
Method Detail |
---|
public static CpuConstraint.Operator[] values()
for (CpuConstraint.Operator c : CpuConstraint.Operator.values()) System.out.println(c);
public static CpuConstraint.Operator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean matches(Integer actual, Integer value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |