Package org.apache.ignite.table
Class ReceiverExecutionOptions.Builder
java.lang.Object
org.apache.ignite.table.ReceiverExecutionOptions.Builder
- Enclosing class:
- ReceiverExecutionOptions
ReceiverExecutionOptions builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the receiver execution options.executorType
(JobExecutorType jobExecutorType) Sets the receiver executor type.maxRetries
(int maxRetries) Sets the number of times to retry receiver execution in case of failure.priority
(int priority) Sets the receiver execution priority.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
priority
Sets the receiver execution priority.- Parameters:
priority
- Receiver execution priority.- Returns:
- Builder instance.
-
maxRetries
Sets the number of times to retry receiver execution in case of failure.- Parameters:
maxRetries
- Number of retries. 0 to not retry.- Returns:
- Builder instance.
-
executorType
Sets the receiver executor type. SeeJobExecutorType
for more details.- Parameters:
jobExecutorType
- Receiver executor type.- Returns:
- Builder instance.
-
build
Builds the receiver execution options.- Returns:
- Receiver execution options.
-