public interface DistributedTaskFailoverPolicyDistributedTaskFailoverPolicy allows pluggable fail over target selection for a failed remotely executed distributed task.
- Vladimir Blagojevic
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
failover(FailoverContext context)As parts of distributively executed task can fail due to the task itself throwing an exception or it can be an Infinispan system caused failure (e.g node failed or left cluster during task execution etc).
maxFailoverAttempts()Maximum number of fail over attempts permitted by this DistributedTaskFailoverPolicy
Address failover(FailoverContext context)
context- the FailoverContext of the failed execution
- result the Address of the Infinispan node selected for fail over execution
int maxFailoverAttempts()Maximum number of fail over attempts permitted by this DistributedTaskFailoverPolicy
- max number of fail over attempts