Package org.apache.ignite.compute
Class JobDescriptor.Builder<T,R>
java.lang.Object
org.apache.ignite.compute.JobDescriptor.Builder<T,R>
- Enclosing class:
- JobDescriptor<T,
R>
Builder.
-
Method Summary
Modifier and TypeMethodDescriptionargumentMarshaller(Marshaller<T, byte[]> marshaller) Sets the argument marshaller.build()Builds the job descriptor.options(JobExecutionOptions options) Sets the job execution options.resultClass(Class<R> resultClass) Sets the result class.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.
-
resultClass
Sets the result class.- Parameters:
resultClass- Result class.- Returns:
- This builder.
-
build
Builds the job descriptor.- Returns:
- Job descriptor.
-