Uses of Interface
io.smallrye.faulttolerance.core.FaultToleranceStrategy
Packages that use FaultToleranceStrategy
Package
Description
Core implementations of fault tolerance strategies conforming to MicroProfile Fault Tolerance.
-
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core
Classes in io.smallrye.faulttolerance.core that implement FaultToleranceStrategyModifier and TypeClassDescriptionfinal 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 FaultToleranceStrategyModifier and TypeClassDescriptionclassUnlikeFutureExecution, this is supposed to be the next to last strategy in the chain (last beingInvocation).classUnlikeCompletionStageExecution, this is supposed to be the first strategy in the chain.classConstructors in io.smallrye.faulttolerance.core.async with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageExecution(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 FaultToleranceStrategyModifier and TypeClassDescriptionclassBulkheadBase<V>classThread pool style bulkhead forCompletionStageasynchronous executions.classThread pool style bulkhead forFutureasynchronous executions.classSemaphore style bulkhead for synchronous executions.classAssumes that this bulkhead is already executed on an extra thread.Constructors in io.smallrye.faulttolerance.core.bulkhead with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageThreadPoolBulkhead(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) SemaphoreThreadPoolBulkhead(FaultToleranceStrategy<V> delegate, String description, int size, int queueSize) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.circuit.breaker
Classes in io.smallrye.faulttolerance.core.circuit.breaker that implement FaultToleranceStrategyConstructors in io.smallrye.faulttolerance.core.circuit.breaker with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCircuitBreaker(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 FaultToleranceStrategyConstructors in io.smallrye.faulttolerance.core.fallback with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageFallback(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, Function<FailureContext, CompletionStage<V>> fallback, ExceptionDecision exceptionDecision) Fallback(FaultToleranceStrategy<V> delegate, String description, Function<FailureContext, V> fallback, ExceptionDecision exceptionDecision) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.invocation
Constructors in io.smallrye.faulttolerance.core.invocation with parameters of type FaultToleranceStrategyModifierConstructorDescriptionStrategyInvoker(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 FaultToleranceStrategyModifier and TypeClassDescriptionclassclassclassclassConstructors in io.smallrye.faulttolerance.core.metrics with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageMetricsCollector(FaultToleranceStrategy<CompletionStage<V>> delegate, MetricsRecorder metrics, MeteredOperation operation) DelegatingCompletionStageMetricsCollector(FaultToleranceStrategy<CompletionStage<V>> delegate, MetricsProvider provider, MeteredOperation originalOperation) DelegatingMetricsCollector(FaultToleranceStrategy<V> delegate, MetricsProvider provider, MeteredOperation originalOperation) 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 FaultToleranceStrategyConstructors in io.smallrye.faulttolerance.core.rate.limit with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageRateLimit(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 FaultToleranceStrategyConstructors in io.smallrye.faulttolerance.core.retry with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageRetry(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, ResultDecision resultDecision, ExceptionDecision exceptionDecision, long maxRetries, long maxTotalDurationInMillis, Supplier<AsyncDelay> delayBetweenRetries, Stopwatch stopwatch, Consumer<FailureContext> beforeRetry) Retry(FaultToleranceStrategy<V> delegate, String description, ResultDecision resultDecision, ExceptionDecision exceptionDecision, long maxRetries, long maxTotalDurationInMillis, Supplier<SyncDelay> delayBetweenRetries, Stopwatch stopwatch, Consumer<FailureContext> beforeRetry) -
Uses of FaultToleranceStrategy in io.smallrye.faulttolerance.core.timeout
Classes in io.smallrye.faulttolerance.core.timeout that implement FaultToleranceStrategyModifier and TypeClassDescriptionclassAsyncTimeout<V>The next strategy in the chain must beTimeout, and it is invoked on an extra thread.classclassTimeout<V>Constructors in io.smallrye.faulttolerance.core.timeout with parameters of type FaultToleranceStrategyModifierConstructorDescriptionCompletionStageTimeout(FaultToleranceStrategy<CompletionStage<V>> delegate, String description, long timeoutInMillis, Timer timer) Timeout(FaultToleranceStrategy<V> delegate, String description, long timeoutInMillis, Timer timer)