public class Workers extends Object
| Constructor and Description |
|---|
Workers() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends IWorker<W,R>,W,R> |
circuitBreaker(S pSource,
ICircuitBreakerStrategy pStrategy) |
static <S extends IWorker<W,R>,W,R> |
decorate(IWorker<W,R> pWrapper,
S pSource) |
static <S extends IWorker<W,R>,W,R> |
retry(S pSource,
IRetryStrategy pRetryStrategy) |
static <S extends IWorker<W,R>,W,R> |
supervise(S pSource,
long pTimeout,
TimeUnit pUnit) |
public static <S extends IWorker<W,R>,W,R> S retry(S pSource, IRetryStrategy pRetryStrategy)
public static <S extends IWorker<W,R>,W,R> S supervise(S pSource, long pTimeout, TimeUnit pUnit)
public static <S extends IWorker<W,R>,W,R> S circuitBreaker(S pSource, ICircuitBreakerStrategy pStrategy)
lpezet