public static enum Scheduler.JobType extends java.lang.Enum<Scheduler.JobType>
Enum Constant and Description |
---|
INVOKE_CHECK
is used to check for failed partner invocations.
|
INVOKE_INTERNAL
is used to let the runtime process an incoming message after it has been
received and stored by the IL.
|
INVOKE_RESPONSE
is used when the response from a two-way invocation comes back and shall be
passed to the runtime.
|
MATCHER
is used to schedule the matchmaking after adding a route to the correlator, i.e.
|
MEX_MATCHER
is used to avoid the race condition when a message has been correlated but
no process instance is able to process it and the route has been added
meanwhile.
|
RESUME
is used for resuming process instances if the time slice has been exeeded
or when the debugger lets the process instance resume.
|
TIMER
is used for scheduled timer tasks like in pick's/evenhandler's onAlarm.
|
Modifier and Type | Method and Description |
---|---|
static Scheduler.JobType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Scheduler.JobType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scheduler.JobType TIMER
public static final Scheduler.JobType RESUME
public static final Scheduler.JobType INVOKE_INTERNAL
public static final Scheduler.JobType INVOKE_RESPONSE
public static final Scheduler.JobType MATCHER
public static final Scheduler.JobType INVOKE_CHECK
public static final Scheduler.JobType MEX_MATCHER
public static Scheduler.JobType[] values()
for (Scheduler.JobType c : Scheduler.JobType.values()) System.out.println(c);
public static Scheduler.JobType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null