public enum ExecutionType extends Enum<ExecutionType>
| Enum Constant and Description |
|---|
BLOCKING
Blocking processing that use
Thread.sleep(long), Lock.lock(), blocking IO operations
or any other technique that blocks the current thread during processing. |
CPU_INTENSIVE
CPU intensive processing such as calculation or transformation.
|
CPU_LITE
Processing which neither blocks nor is CPU intensive such as message passing, filtering, routing or non-blocking IO..
|
| Modifier and Type | Method and Description |
|---|---|
static ExecutionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionType CPU_INTENSIVE
public static final ExecutionType CPU_LITE
public static final ExecutionType BLOCKING
Thread.sleep(long), Lock.lock(), blocking IO operations
or any other technique that blocks the current thread during processing.public static ExecutionType[] values()
for (ExecutionType c : ExecutionType.values()) System.out.println(c);
public static ExecutionType 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 © 2017 MuleSoft, Inc.. All rights reserved.