Package org.apache.ignite.compute
Enum Class JobExecutorType
- All Implemented Interfaces:
Serializable,Comparable<JobExecutorType>,Constable
Job executor type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSide-car .NET job executor.Embedded Java job executor.Embedded WASM job executor. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobExecutorTypefromOrdinal(int ordinal) Returns the enumerated value from its ordinal.static JobExecutorTypeReturns the enum constant of this class with the specified name.static JobExecutorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JAVA_EMBEDDED
Embedded Java job executor. Executes Java jobs in the same process and JVM where the Ignite node is running. -
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
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
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
-
fromOrdinal
Returns the enumerated value from its ordinal.- Parameters:
ordinal- Ordinal of enumeration constant.- Throws:
IllegalArgumentException- If no enumeration constant by ordinal.
-