public abstract class AbstractCircuitBreaker<R> extends Object implements CircuitBreaker<R>, ContextAwareCircuitBreaker<R>
Constructor and Description |
---|
AbstractCircuitBreaker() |
Modifier and Type | Method and Description |
---|---|
<U> R |
execute(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
U userData) |
R |
executeInContext(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
ExecutionContext<R> executionContext) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute
public <U> R execute(Task<R> task, BreakStrategy<R> breakStrategy, BreakHandler<R> breakHandler, U userData) throws TaskExecutionException, BreakHandlerException, CircuitBreakerException
public R executeInContext(Task<R> task, BreakStrategy<R> breakStrategy, BreakHandler<R> breakHandler, ExecutionContext<R> executionContext) throws TaskExecutionException, BreakHandlerException, CircuitBreakerException
Copyright © 2017. All rights reserved.