public static enum ThreadEvent.Operation extends java.lang.Enum<ThreadEvent.Operation>
| Enum Constant and Description |
|---|
ENTERING
This operation is published when a new worker thread is first entered
|
EXITING
This operation is published when a worker thread has finished working, right before the Runnable/Callable/etc completes
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadEvent.Operation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadEvent.Operation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadEvent.Operation ENTERING
public static final ThreadEvent.Operation EXITING
public static ThreadEvent.Operation[] values()
for (ThreadEvent.Operation c : ThreadEvent.Operation.values()) System.out.println(c);
public static ThreadEvent.Operation 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