private static class DefaultExecutorService.NoTaskFailoverPolicy extends java.lang.Object implements DistributedTaskFailoverPolicy
Constructor and Description |
---|
DefaultExecutorService.NoTaskFailoverPolicy() |
Modifier and Type | Method and Description |
---|---|
org.infinispan.remoting.transport.Address |
failover(FailoverContext fc)
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
|
public DefaultExecutorService.NoTaskFailoverPolicy()
public org.infinispan.remoting.transport.Address failover(FailoverContext fc)
DistributedTaskFailoverPolicy
failover
in interface DistributedTaskFailoverPolicy
public int maxFailoverAttempts()
DistributedTaskFailoverPolicy
maxFailoverAttempts
in interface DistributedTaskFailoverPolicy