public class Commands extends Object
| Constructor and Description |
|---|
Commands() |
| Modifier and Type | Method and Description |
|---|---|
static <S extends ICommand<T>,T> |
circuitBreaker(S pSource,
ICircuitBreakerStrategy pStrategy) |
static <S extends ICommand<T>,T> |
retry(S pSource,
IRetryStrategy pRetryStrategy) |
static <S extends ICommand<T>,T> |
supervise(S pSource,
long pTimeout,
TimeUnit pUnit) |
public static <S extends ICommand<T>,T> S retry(S pSource, IRetryStrategy pRetryStrategy)
public static <S extends ICommand<T>,T> S supervise(S pSource, long pTimeout, TimeUnit pUnit)
public static <S extends ICommand<T>,T> S circuitBreaker(S pSource, ICircuitBreakerStrategy pStrategy)
lpezet