public static enum CronEntry.Type extends Enum<CronEntry.Type>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Field and Description |
|---|---|
static CronEntry.Type |
DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
public static CronEntry.Type DEFAULT
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 nameNullPointerException - if the argument is nullpublic static CronEntry.Type valueOf(int i)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}