Enum Class ExecutionType

java.lang.Object
java.lang.Enum<ExecutionType>
org.mule.sdk.api.runtime.operation.ExecutionType
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
  • Enum Constant Details

    • CPU_INTENSIVE

      @MinMuleVersion("4.5.0") public static final ExecutionType CPU_INTENSIVE
      CPU intensive processing such as calculation or transformation.
    • CPU_LITE

      @MinMuleVersion("4.5.0") public static final ExecutionType CPU_LITE
      Processing which neither blocks nor is CPU intensive such as message passing, filtering, routing or non-blocking IO..
    • BLOCKING

      @MinMuleVersion("4.5.0") public static final ExecutionType BLOCKING
      Blocking processing that use Thread.sleep(long), Lock.lock(), blocking IO operations or any other technique that blocks the current thread during processing.
  • Method Details

    • values

      public static ExecutionType[] 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

      public static ExecutionType valueOf(String name)
      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 name
      NullPointerException - if the argument is null