Package org.apache.ignite.compute
Class JobExecutionOptions
java.lang.Object
org.apache.ignite.compute.JobExecutionOptions
Job execution options.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
JobExecutionOptions builder. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JobExecutionOptions
Default job execution options with priority default value = 0 and max retries default value = 0. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobExecutionOptions.Builder
builder()
Creates the builder for job execution options.Gets the job executor type.int
Gets the number of times to retry job execution in case of failure.int
priority()
Gets the job execution priority.
-
Field Details
-
DEFAULT
Default job execution options with priority default value = 0 and max retries default value = 0.
-
-
Method Details
-
builder
Creates the builder for job execution options.- Returns:
- Builder for job execution options.
-
priority
public int priority()Gets the job execution priority.- Returns:
- Job execution priority.
-
maxRetries
public int maxRetries()Gets the number of times to retry job execution in case of failure.- Returns:
- Number of retries.
-
executorType
Gets the job executor type.- Returns:
- Job executor type.
-