Package org.apache.ignite.compute.wasm
Class WasmJobDescriptor.Builder<T,R>
java.lang.Object
org.apache.ignite.compute.wasm.WasmJobDescriptor.Builder<T,R>
- Enclosing class:
- WasmJobDescriptor
Builder.
-
Method Summary
Modifier and TypeMethodDescriptionargumentMarshaller(Marshaller<T, byte[]> marshaller) Sets the argument marshaller.build()Builds the job descriptor.callingConvention(WasmCallingConvention callingConvention) Sets the calling convention.options(JobExecutionOptions options) Sets the job execution options.resultMarshaller(Marshaller<R, byte[]> marshaller) Sets the result marshaller.units(List<DeploymentUnit> units) Sets the deployment units.units(DeploymentUnit... units) Sets the deployment units.
-
Method Details
-
units
Sets the deployment units.- Parameters:
units- Deployment units.- Returns:
- This builder.
-
units
Sets the deployment units.- Parameters:
units- Deployment units.- Returns:
- This builder.
-
options
Sets the job execution options.- Parameters:
options- Job execution options.- Returns:
- This builder.
-
argumentMarshaller
Sets the argument marshaller.- Parameters:
marshaller- Argument marshaller.- Returns:
- This builder.
-
resultMarshaller
Sets the result marshaller.- Parameters:
marshaller- Result marshaller.- Returns:
- This builder.
-
callingConvention
Sets the calling convention.- Parameters:
callingConvention- Calling convention.- Returns:
- This builder.
-
build
Builds the job descriptor.- Returns:
- Job descriptor.
-