| Constructor and Description |
|---|
CircuitBreaker(FaultToleranceStrategy<V> delegate,
String description,
SetOfThrowables failOn,
SetOfThrowables skipOn,
long delayInMillis,
int requestVolumeThreshold,
double failureRatio,
int successThreshold,
Stopwatch stopwatch,
CircuitBreaker.MetricsRecorder metricsRecorder) |
CompletionStageCircuitBreaker(FaultToleranceStrategy<CompletionStage<V>> delegate,
String description,
SetOfThrowables failOn,
SetOfThrowables skipOn,
long delayInMillis,
int requestVolumeThreshold,
double failureRatio,
int successThreshold,
Stopwatch stopwatch,
CircuitBreaker.MetricsRecorder metricsRecorder) |
| Constructor and Description |
|---|
CompletionStageFallback(FaultToleranceStrategy<CompletionStage<V>> delegate,
String description,
FallbackFunction<CompletionStage<V>> fallback,
SetOfThrowables applyOn,
SetOfThrowables skipOn,
Fallback.MetricsRecorder metricsRecorder) |
Fallback(FaultToleranceStrategy<V> delegate,
String description,
FallbackFunction<V> fallback,
SetOfThrowables applyOn,
SetOfThrowables skipOn,
Fallback.MetricsRecorder metricsRecorder) |
| Constructor and Description |
|---|
CompletionStageRetry(FaultToleranceStrategy<CompletionStage<V>> delegate,
String description,
SetOfThrowables retryOn,
SetOfThrowables abortOn,
long maxRetries,
long maxTotalDurationInMillis,
Delay delayBetweenRetries,
Stopwatch stopwatch,
Retry.MetricsRecorder metricsRecorder) |
Retry(FaultToleranceStrategy<V> delegate,
String description,
SetOfThrowables retryOn,
SetOfThrowables abortOn,
long maxRetries,
long maxTotalDurationInMillis,
Delay delayBetweenRetries,
Stopwatch stopwatch,
Retry.MetricsRecorder metricsRecorder) |
| Modifier and Type | Field and Description |
|---|---|
static SetOfThrowables |
SetOfThrowables.ALL |
static SetOfThrowables |
SetOfThrowables.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
static SetOfThrowables |
SetOfThrowables.create(List<Class<? extends Throwable>> classes) |
Copyright © 2018–2020. All rights reserved.