Package | Description |
---|---|
net.secodo.jcircuitbreaker.breakhandler | |
net.secodo.jcircuitbreaker.breakhandler.impl |
Modifier and Type | Interface and Description |
---|---|
interface |
OnePerExecutionHandlerFactory<R>
An implementation of
BreakHandlerFactory which creates new instance of given BreakHandler if it
does not exist in current execution context, otherwise returns BreakHandler bound to current execution
context (reuses the same instance for handling subsequent calls to
BreakHandler.onBreak(ContextAwareCircuitBreaker, Task, BreakStrategy, ExecutionContext) ). |
Modifier and Type | Class and Description |
---|---|
class |
ReusableRetryHandler<R>
An implementation of
BreakHandler which creates single instance of StatefulRetryHandler per
execution context. |
class |
SimpleHandlerFactory<R>
An implementation of
BreakHandlerFactory which creates new instance of given BreakHandler class for
each invocation of SimpleHandlerFactory.makeHandler(Task, ExecutionContext) . |
Copyright © 2017. All rights reserved.