public enum WorkerEvent extends Enum<WorkerEvent>
| Enum Constant and Description |
|---|
JOB_EXECUTE
The Worker is about to execute a materialized Job.
|
JOB_FAILURE
The Worker caught an Exception during the execution of a materialized Job.
|
JOB_PROCESS
The Worker is processing a Job.
|
JOB_SUCCESS
The Worker successfully executed a materialized Job.
|
WORKER_ERROR
The Worker caught an Exception during normal operation.
|
WORKER_POLL
The Worker is polling the queue.
|
WORKER_START
The Worker just finished starting up and is about to start running.
|
WORKER_STOP
The Worker just finished running and is about to shutdown.
|
| Modifier and Type | Method and Description |
|---|---|
static WorkerEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkerEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkerEvent WORKER_START
public static final WorkerEvent WORKER_POLL
public static final WorkerEvent JOB_PROCESS
public static final WorkerEvent JOB_EXECUTE
public static final WorkerEvent JOB_SUCCESS
public static final WorkerEvent JOB_FAILURE
public static final WorkerEvent WORKER_ERROR
public static final WorkerEvent WORKER_STOP
public static WorkerEvent[] values()
for (WorkerEvent c : WorkerEvent.values()) System.out.println(c);
public static WorkerEvent 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 nullCopyright © 2011-2013. All Rights Reserved.