| Package | Description |
|---|---|
| io.smallrye.faulttolerance.core |
Core implementations of fault tolerance strategies conforming to MicroProfile Fault Tolerance.
|
| io.smallrye.faulttolerance.core.async | |
| io.smallrye.faulttolerance.core.bulkhead | |
| io.smallrye.faulttolerance.core.circuit.breaker | |
| io.smallrye.faulttolerance.core.fallback | |
| io.smallrye.faulttolerance.core.retry | |
| io.smallrye.faulttolerance.core.timeout | |
| io.smallrye.faulttolerance.core.util |
| Modifier and Type | Method and Description |
|---|---|
V |
Invocation.apply(InvocationContext<V> ctx) |
V |
GeneralMetricsRecorder.apply(InvocationContext<V> ctx) |
V |
FaultToleranceStrategy.apply(InvocationContext<V> ctx)
Apply the fault tolerance strategy around the target
Callable. |
| Modifier and Type | Method and Description |
|---|---|
Future<V> |
FutureExecution.apply(InvocationContext<Future<V>> ctx) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<V> |
CompletionStageBulkhead.apply(InvocationContext<CompletionStage<V>> ctx) |
Future<V> |
ThreadPoolBulkhead.apply(InvocationContext<Future<V>> ctx) |
V |
SemaphoreBulkhead.apply(InvocationContext<V> ctx) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<V> |
CompletionStageCircuitBreaker.apply(InvocationContext<CompletionStage<V>> ctx) |
V |
CircuitBreaker.apply(InvocationContext<V> ctx) |
| Modifier and Type | Field and Description |
|---|---|
InvocationContext<V> |
FallbackContext.invocationContext |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<V> |
CompletionStageFallback.apply(InvocationContext<CompletionStage<V>> ctx) |
V |
Fallback.apply(InvocationContext<V> ctx) |
| Constructor and Description |
|---|
FallbackContext(Throwable failure,
InvocationContext<V> invocationContext) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<V> |
CompletionStageRetry.apply(InvocationContext<CompletionStage<V>> ctx) |
V |
Retry.apply(InvocationContext<V> ctx) |
CompletionStage<V> |
CompletionStageRetry.doRetry(InvocationContext<CompletionStage<V>> target,
int attempt,
RunningStopwatch stopwatch,
Throwable latestFailure) |
| Modifier and Type | Method and Description |
|---|---|
CompletionStage<V> |
CompletionStageTimeout.apply(InvocationContext<CompletionStage<V>> ctx) |
Future<V> |
AsyncTimeout.apply(InvocationContext<Future<V>> ctx) |
V |
Timeout.apply(InvocationContext<V> ctx) |
| Modifier and Type | Method and Description |
|---|---|
V |
Tracer.apply(InvocationContext<V> ctx) |
Copyright © 2018–2020. All rights reserved.