R - the return type of onBreak method. This must be the same return type as the of of executed Taskpublic interface BreakHandler<R>
| Modifier and Type | Method and Description |
|---|---|
R |
onBreak(CircuitBreaker circuitBreaker,
Callable<R> task,
BreakStrategy breakStrategy,
ExecutionContext<?> executionContext) |
R onBreak(CircuitBreaker circuitBreaker, Callable<R> task, BreakStrategy breakStrategy, ExecutionContext<?> executionContext) throws BreakHandlerException
Copyright © 2017. All rights reserved.