Modifier and Type | Method and Description |
---|---|
default R |
CircuitBreaker.execute(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler) |
<U> R |
CircuitBreaker.execute(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
U userData) |
R |
ContextAwareCircuitBreaker.executeInContext(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
ExecutionContext<R> executionContext) |
Modifier and Type | Method and Description |
---|---|
ReusableCircuitBreakerBuilder<R> |
ReusableCircuitBreakerBuilder.withBreakHandler(BreakHandler<R> breakHandler) |
Modifier and Type | Method and Description |
---|---|
<U> R |
AbstractCircuitBreaker.execute(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
U userData) |
R |
AbstractCircuitBreaker.executeInContext(Task<R> task,
BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler,
ExecutionContext<R> executionContext) |
Constructor and Description |
---|
ReusableCircuitBreaker(BreakStrategy<R> breakStrategy,
BreakHandler<R> breakHandler) |
Modifier and Type | Interface and Description |
---|---|
interface |
BreakHandlerFactory<R> |
interface |
OnePerExecutionHandlerFactory<R> |
Modifier and Type | Method and Description |
---|---|
BreakHandler<R> |
OnePerExecutionHandlerFactory.createNewHandler(Task<R> task,
ExecutionContext<R> executionContext) |
default BreakHandler<R> |
OnePerExecutionHandlerFactory.makeHandler(Task<R> task,
ExecutionContext<R> executionContext) |
BreakHandler<R> |
BreakHandlerFactory.makeHandler(Task<R> task,
ExecutionContext<R> executionContext) |
Modifier and Type | Method and Description |
---|---|
static <R,P> BreakHandler<R> |
InstantiationHelper.constructSingleParamInstance(Class<? extends BreakHandler> handlerClass,
P constructorParam) |
Modifier and Type | Method and Description |
---|---|
static <R,P> BreakHandler<R> |
InstantiationHelper.constructSingleParamInstance(Class<? extends BreakHandler> handlerClass,
P constructorParam) |
Modifier and Type | Class and Description |
---|---|
class |
ExceptionThrowingHandler<R> |
class |
NoActionHandler<R> |
class |
ReturnStaticValueHandler<R> |
class |
ReusableRetryHandler<R> |
class |
SimpleHandlerFactory<R> |
class |
StatefulRetryHandler<R> |
Modifier and Type | Method and Description |
---|---|
BreakHandler<R> |
ReusableRetryHandler.createNewHandler(Task<R> task,
ExecutionContext<R> executionContext) |
BreakHandler<R> |
SimpleHandlerFactory.makeHandler(Task<R> task,
ExecutionContext<R> executionContext) |
Constructor and Description |
---|
SimpleHandlerFactory(Class<? extends BreakHandler<R>> handlerClass) |
Copyright © 2017. All rights reserved.