Class TypedGuardImpl.BuilderImpl<V,T>
java.lang.Object
io.smallrye.faulttolerance.core.apiimpl.TypedGuardImpl.BuilderImpl<V,T>
- All Implemented Interfaces:
TypedGuard.Builder<T>
- Enclosing class:
TypedGuardImpl<V,T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.TypedGuard.Builder
TypedGuard.Builder.BulkheadBuilder<T>, TypedGuard.Builder.CircuitBreakerBuilder<T>, TypedGuard.Builder.FallbackBuilder<T>, TypedGuard.Builder.RateLimitBuilder<T>, TypedGuard.Builder.RetryBuilder<T>, TypedGuard.Builder.TimeoutBuilder<T> -
Constructor Summary
ConstructorsConstructorDescriptionBuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies, Type valueType) -
Method Summary
Modifier and TypeMethodDescriptionbuild()withDescription(String value) withThreadOffload(boolean value) withThreadOffloadExecutor(Executor executor) 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 interfaceTypedGuard.Builder<V>
-
withBulkhead
- Specified by:
withBulkheadin interfaceTypedGuard.Builder<V>
-
withCircuitBreaker
- Specified by:
withCircuitBreakerin interfaceTypedGuard.Builder<V>
-
withFallback
- Specified by:
withFallbackin interfaceTypedGuard.Builder<V>
-
withRateLimit
- Specified by:
withRateLimitin interfaceTypedGuard.Builder<V>
-
withRetry
- Specified by:
withRetryin interfaceTypedGuard.Builder<V>
-
withTimeout
- Specified by:
withTimeoutin interfaceTypedGuard.Builder<V>
-
withThreadOffload
- Specified by:
withThreadOffloadin interfaceTypedGuard.Builder<V>
-
withThreadOffloadExecutor
- Specified by:
withThreadOffloadExecutorin interfaceTypedGuard.Builder<V>
-
build
- Specified by:
buildin interfaceTypedGuard.Builder<V>
-