|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CronEntry.Type>
org.mmbase.applications.crontab.CronEntry.Type
public static enum CronEntry.Type
| Enum Constant Summary | |
|---|---|
BALANCE
A job of this type runs exactly once in the load balanced mmbase cluster. |
|
BALANCE_MUSTBEONE
As BALANCED, but no job is started as the previous was not yet finished. |
|
CANBEMORE
The 'can be more' type job is like a 'must be one' job, but the run() method of such jobs is even called (when scheduled) if it itself is still running. |
|
DISABLED
Don't run at all |
|
MUSTBEONE
The default job type is the 'must be one' job. |
|
SHORT
A CronEntry of this type will run without the overhead of an extra thread. |
|
| Field Summary | |
|---|---|
static CronEntry.Type |
DEFAULT
|
| Method Summary | |
|---|---|
static CronEntry.Type |
valueOf(int i)
|
static CronEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CronEntry.Type[] |
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 CronEntry.Type SHORT
public static final CronEntry.Type MUSTBEONE
public static final CronEntry.Type CANBEMORE
public static final CronEntry.Type DISABLED
public static final CronEntry.Type BALANCE
public static final CronEntry.Type BALANCE_MUSTBEONE
| Field Detail |
|---|
public static CronEntry.Type DEFAULT
| Method Detail |
|---|
public static CronEntry.Type[] values()
for (CronEntry.Type c : CronEntry.Type.values()) System.out.println(c);
public static CronEntry.Type 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 static CronEntry.Type valueOf(int i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||