public interface DistributedTaskFailoverPolicy
Modifier and Type | Method and Description |
---|---|
Address |
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).
|
int |
maxFailoverAttempts()
Maximum number of fail over attempts permitted by this DistributedTaskFailoverPolicy
|
Address failover(FailoverContext context)
failoverContext
- the FailoverContext of the failed executionint maxFailoverAttempts()
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.