Uses of Interface
io.smallrye.faulttolerance.core.FaultToleranceStrategy
-
Packages that use FaultToleranceStrategy 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.invocation io.smallrye.faulttolerance.core.metrics io.smallrye.faulttolerance.core.rate.limit io.smallrye.faulttolerance.core.retry io.smallrye.faulttolerance.core.timeout -
-
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core
Classes in io.smallrye.faulttolerance.core that implement FaultToleranceStrategy Modifier and Type Class Description classInvocation<V>A "sentinel" fault tolerance strategy that does no processing, it only invokes the guardedCallable. -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.async
Classes in io.smallrye.faulttolerance.core.async that implement FaultToleranceStrategy Modifier and Type Class Description classCompletionStageExecution<V>UnlikeFutureExecution, this is supposed to be the next to last strategy in the chain (last beingInvocation).classFutureExecution<V>UnlikeCompletionStageExecution, this is supposed to be the first strategy in the chain.classRememberEventLoop<V>Constructors in io.smallrye.faulttolerance.core.async with parameters of type FaultToleranceStrategy Constructor Description CompletionStageExecution(FaultToleranceStrategy<CompletionStage<V>> delegate, Executor executor)FutureExecution(FaultToleranceStrategy<Future<V>> delegate, Executor executor)RememberEventLoop(FaultToleranceStrategy<CompletionStage<V>> delegate, EventLoop eventLoop) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.bulkhead
Classes in io.smallrye.faulttolerance.core.bulkhead that implement FaultToleranceStrategy Modifier and Type Class Description classBulkheadBase<V>classCompletionStageThreadPoolBulkhead<V>Thread pool style bulkhead forCompletionStageasynchronous executions.classFutureThreadPoolBulkhead<V>Thread pool style bulkhead forFutureasynchronous executions.classSemaphoreBulkhead<V>Semaphore style bulkhead for synchronous executions.Constructors in io.smallrye.faulttolerance.core.bulkhead with parameters of type FaultToleranceStrategy Constructor Description CompletionStageThreadPoolBulkhead(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, int size, int queueSize)FutureThreadPoolBulkhead(FaultToleranceStrategy<Future<V>> delegate, String description, int size, int queueSize)SemaphoreBulkhead(FaultToleranceStrategy<V> delegate, String description, int size) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.circuit.breaker
Classes in io.smallrye.faulttolerance.core.circuit.breaker that implement FaultToleranceStrategy Modifier and Type Class Description classCircuitBreaker<V>classCompletionStageCircuitBreaker<V>Constructors in io.smallrye.faulttolerance.core.circuit.breaker with parameters of type FaultToleranceStrategy Constructor Description CircuitBreaker(FaultToleranceStrategy<V> delegate, String description, ExceptionDecision exceptionDecision, long delayInMillis, int requestVolumeThreshold, double failureRatio, int successThreshold, Stopwatch stopwatch, Timer timer)CompletionStageCircuitBreaker(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, ExceptionDecision exceptionDecision, long delayInMillis, int requestVolumeThreshold, double failureRatio, int successThreshold, Stopwatch stopwatch, Timer timer) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.fallback
Classes in io.smallrye.faulttolerance.core.fallback that implement FaultToleranceStrategy Modifier and Type Class Description classCompletionStageFallback<V>classFallback<V>Constructors in io.smallrye.faulttolerance.core.fallback with parameters of type FaultToleranceStrategy Constructor Description CompletionStageFallback(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, FallbackFunction<CompletionStage<V>> fallback, ExceptionDecision exceptionDecision)Fallback(FaultToleranceStrategy<V> delegate, String description, FallbackFunction<V> fallback, ExceptionDecision exceptionDecision) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.invocation
Constructors in io.smallrye.faulttolerance.core.invocation with parameters of type FaultToleranceStrategy Constructor Description StrategyInvoker(Object[] arguments, FaultToleranceStrategy<V> strategy, InvocationContext<V> context) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.metrics
Classes in io.smallrye.faulttolerance.core.metrics that implement FaultToleranceStrategy Modifier and Type Class Description classCompletionStageMetricsCollector<V>classMetricsCollector<V>Constructors in io.smallrye.faulttolerance.core.metrics with parameters of type FaultToleranceStrategy Constructor Description CompletionStageMetricsCollector(FaultToleranceStrategy<CompletionStage<V>> delegate, MetricsRecorder metrics, MeteredOperation operation)MetricsCollector(FaultToleranceStrategy<V> delegate, MetricsRecorder metrics, MeteredOperation operation) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.rate.limit
Classes in io.smallrye.faulttolerance.core.rate.limit that implement FaultToleranceStrategy Modifier and Type Class Description classCompletionStageRateLimit<V>classRateLimit<V>Constructors in io.smallrye.faulttolerance.core.rate.limit with parameters of type FaultToleranceStrategy Constructor Description CompletionStageRateLimit(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, int maxInvocations, long timeWindowInMillis, long minSpacingInMillis, RateLimitType type, Stopwatch stopwatch)RateLimit(FaultToleranceStrategy<V> delegate, String description, int maxInvocations, long timeWindowInMillis, long minSpacingInMillis, RateLimitType type, Stopwatch stopwatch) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.retry
Classes in io.smallrye.faulttolerance.core.retry that implement FaultToleranceStrategy Modifier and Type Class Description classCompletionStageRetry<V>classRetry<V>Constructors in io.smallrye.faulttolerance.core.retry with parameters of type FaultToleranceStrategy Constructor Description CompletionStageRetry(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, ResultDecision resultDecision, ExceptionDecision exceptionDecision, long maxRetries, long maxTotalDurationInMillis, Supplier<AsyncDelay> delayBetweenRetries, Stopwatch stopwatch)Retry(FaultToleranceStrategy<V> delegate, String description, ResultDecision resultDecision, ExceptionDecision exceptionDecision, long maxRetries, long maxTotalDurationInMillis, Supplier<SyncDelay> delayBetweenRetries, Stopwatch stopwatch) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.timeout
Classes in io.smallrye.faulttolerance.core.timeout that implement FaultToleranceStrategy Modifier and Type Class Description classAsyncTimeout<V>The next strategy in the chain must beTimeout, and it is invoked on an extra thread.classCompletionStageTimeout<V>classTimeout<V>Constructors in io.smallrye.faulttolerance.core.timeout with parameters of type FaultToleranceStrategy Constructor Description CompletionStageTimeout(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, long timeoutInMillis, Timer timer)Timeout(FaultToleranceStrategy<V> delegate, String description, long timeoutInMillis, Timer timer)
-