- All Implemented Interfaces:
Serializable,Comparable<ExecutionType>,Constable
@MinMuleVersion("4.5.0")
@DoNotEnforceMinMuleVersion
public enum ExecutionType
extends Enum<ExecutionType>
In order for Mule to determine the best way to execute different components, it needs to know the type of work the components
will be performing.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlocking processing that useThread.sleep(long),Lock.lock(), blocking IO operations or any other technique that blocks the current thread during processing.CPU intensive processing such as calculation or transformation.Processing which neither blocks nor is CPU intensive such as message passing, filtering, routing or non-blocking IO.. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionTypeReturns the enum constant of this class with the specified name.static ExecutionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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.. -
BLOCKING
Blocking processing that useThread.sleep(long),Lock.lock(), blocking IO operations or any other technique that blocks the current thread during processing.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-