Enum Class JobExecutorType

java.lang.Object
java.lang.Enum<JobExecutorType>
org.apache.ignite.compute.JobExecutorType
All Implemented Interfaces:
Serializable, Comparable<JobExecutorType>, Constable

public enum JobExecutorType extends Enum<JobExecutorType>
Job executor type.
  • Enum Constant Details

    • JAVA_EMBEDDED

      public static final JobExecutorType JAVA_EMBEDDED
      Embedded Java job executor. Executes Java jobs in the same process and JVM where the Ignite node is running.
    • DOTNET_SIDECAR

      public static final JobExecutorType DOTNET_SIDECAR
      Side-car .NET job executor. Executes .NET jobs in a separate process.

      Starts the process on demand. Requires .NET runtime to be installed.

    • WASM_EMBEDDED

      public static final JobExecutorType WASM_EMBEDDED
      Embedded WASM job executor. Executes WASM jobs in the same process and JVM where the Ignite node is running.

      JobDescriptor.jobClassName() should contain function specification in the following format: <wasm_file_name>:<exported_function_name>:<result_type>:<calling_convention.

      Allowed result types are: int8, int16, int32, int64, float32, float64, timestamp, string, bytes.

      Allowed calling conventions are: generic, rust-wasm-bindgen, go-wasi-reactor.

  • Method Details

    • values

      public static JobExecutorType[] 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 JobExecutorType 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
    • fromOrdinal

      public static JobExecutorType fromOrdinal(int ordinal) throws IllegalArgumentException
      Returns the enumerated value from its ordinal.
      Parameters:
      ordinal - Ordinal of enumeration constant.
      Throws:
      IllegalArgumentException - If no enumeration constant by ordinal.