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 |
---|---|
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
|
<K> List<K> |
inputKeys()
Returns a list of input keys for this task.
|
Address executionFailureLocation()
List<Address> executionCandidates()
DistributedTaskFailoverPolicy
Throwable cause()
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 failedK
- Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.