|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FailoverContext
As 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.
Method Summary | ||
---|---|---|
Throwable |
cause()
Returns the Throwable which was the cause of the task failure. |
|
List<Address> |
executionCandidates()
Returns a list of candidates for possible repeated execution governed by installed DistributedTaskFailoverPolicy |
|
Address |
executionFailureLocation()
Returns an Address of the node where the task failed |
|
|
inputKeys()
Returns a list of input keys for this task. |
Method Detail |
---|
Address executionFailureLocation()
List<Address> executionCandidates()
DistributedTaskFailoverPolicy
Throwable cause()
Throwable#getCause()} API to recursively traverse the Exception chain
<K> List<K> inputKeys()
DistributedTask
but rather only the input keys used as input
for a part of that task where the execution failed
K
-
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |