public static class GraphTaskManager.FailWithEveryExceptionOccurred extends Object implements GraphTaskManager.CheckerIfWorkerShouldFailAfterException
Constructor and Description |
---|
FailWithEveryExceptionOccurred() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkIfWorkerShouldFail(Thread thread,
Throwable exception)
Check if worker should fail after a thread gets an exception
|
public boolean checkIfWorkerShouldFail(Thread thread, Throwable exception)
GraphTaskManager.CheckerIfWorkerShouldFailAfterException
checkIfWorkerShouldFail
in interface GraphTaskManager.CheckerIfWorkerShouldFailAfterException
thread
- Thread which raised the exceptionexception
- Exception which occurredCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.