public interface FailoverContext
DistributedTask
might potentially fail on subset of executing nodes FailureContext
provides details of such task failure. FailureContext has a scope of a node where the task
failed.Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
cause()
Returns the Throwable which was the cause of the task failure.
|
java.util.List<org.infinispan.remoting.transport.Address> |
executionCandidates()
Returns a list of candidates for possible repeated execution governed by installed
DistributedTaskFailoverPolicy |
org.infinispan.remoting.transport.Address |
executionFailureLocation()
Returns an Address of the node where the task failed
|
<K> java.util.List<K> |
inputKeys()
Returns a list of input keys for this task.
|
org.infinispan.remoting.transport.Address executionFailureLocation()
java.util.List<org.infinispan.remoting.transport.Address> executionCandidates()
DistributedTaskFailoverPolicy
java.lang.Throwable cause()
Throwable#getCause()} API to recursively traverse the Exception chain
<K> java.util.List<K> inputKeys()
DistributedTask
but rather only the input keys used as input
for a part of that task where the execution failedK
-