Class TypedGuardImpl.BuilderImpl<V,T>
java.lang.Object
io.smallrye.faulttolerance.apiimpl.TypedGuardImpl.BuilderImpl<V,T>
- All Implemented Interfaces:
io.smallrye.faulttolerance.api.TypedGuard.Builder<T>
- Enclosing class:
TypedGuardImpl<V,T>
public static class TypedGuardImpl.BuilderImpl<V,T>
extends Object
implements io.smallrye.faulttolerance.api.TypedGuard.Builder<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.TypedGuard.Builder
io.smallrye.faulttolerance.api.TypedGuard.Builder.BulkheadBuilder<T>, io.smallrye.faulttolerance.api.TypedGuard.Builder.CircuitBreakerBuilder<T>, io.smallrye.faulttolerance.api.TypedGuard.Builder.FallbackBuilder<T>, io.smallrye.faulttolerance.api.TypedGuard.Builder.RateLimitBuilder<T>, io.smallrye.faulttolerance.api.TypedGuard.Builder.RetryBuilder<T>, io.smallrye.faulttolerance.api.TypedGuard.Builder.TimeoutBuilder<T> -
Constructor Summary
ConstructorsConstructorDescriptionBuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies, Type valueType) -
Method Summary
Modifier and TypeMethodDescriptionio.smallrye.faulttolerance.api.TypedGuard<T> build()io.smallrye.faulttolerance.api.TypedGuard.Builder.BulkheadBuilder<T> io.smallrye.faulttolerance.api.TypedGuard.Builder.CircuitBreakerBuilder<T> io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withDescription(String value) io.smallrye.faulttolerance.api.TypedGuard.Builder.FallbackBuilder<T> io.smallrye.faulttolerance.api.TypedGuard.Builder.RateLimitBuilder<T> io.smallrye.faulttolerance.api.TypedGuard.Builder.RetryBuilder<T> io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withThreadOffload(boolean value) io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withThreadOffloadExecutor(Executor executor) io.smallrye.faulttolerance.api.TypedGuard.Builder.TimeoutBuilder<T> Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.smallrye.faulttolerance.api.TypedGuard.Builder
with
-
Constructor Details
-
BuilderImpl
public BuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies, Type valueType)
-
-
Method Details
-
withDescription
- Specified by:
withDescriptionin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withBulkhead
- Specified by:
withBulkheadin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withCircuitBreaker
public io.smallrye.faulttolerance.api.TypedGuard.Builder.CircuitBreakerBuilder<T> withCircuitBreaker()- Specified by:
withCircuitBreakerin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withFallback
- Specified by:
withFallbackin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withRateLimit
- Specified by:
withRateLimitin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withRetry
- Specified by:
withRetryin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withTimeout
- Specified by:
withTimeoutin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withThreadOffload
- Specified by:
withThreadOffloadin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
withThreadOffloadExecutor
public io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withThreadOffloadExecutor(Executor executor) - Specified by:
withThreadOffloadExecutorin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-
build
- Specified by:
buildin interfaceio.smallrye.faulttolerance.api.TypedGuard.Builder<V>
-