Class GuardImpl.BuilderImpl
java.lang.Object
io.smallrye.faulttolerance.core.apiimpl.GuardImpl.BuilderImpl
- All Implemented Interfaces:
Guard.Builder
- Enclosing class:
GuardImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.smallrye.faulttolerance.api.Guard.Builder
Guard.Builder.BulkheadBuilder, Guard.Builder.CircuitBreakerBuilder, Guard.Builder.RateLimitBuilder, Guard.Builder.RetryBuilder, Guard.Builder.TimeoutBuilder -
Constructor Summary
ConstructorsConstructorDescriptionBuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies) -
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.Guard.Builder
with
-
Constructor Details
-
BuilderImpl
public BuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies)
-
-
Method Details
-
withDescription
- Specified by:
withDescriptionin interfaceGuard.Builder
-
withBulkhead
- Specified by:
withBulkheadin interfaceGuard.Builder
-
withCircuitBreaker
- Specified by:
withCircuitBreakerin interfaceGuard.Builder
-
withRateLimit
- Specified by:
withRateLimitin interfaceGuard.Builder
-
withRetry
- Specified by:
withRetryin interfaceGuard.Builder
-
withTimeout
- Specified by:
withTimeoutin interfaceGuard.Builder
-
withThreadOffload
- Specified by:
withThreadOffloadin interfaceGuard.Builder
-
withThreadOffloadExecutor
- Specified by:
withThreadOffloadExecutorin interfaceGuard.Builder
-
build
- Specified by:
buildin interfaceGuard.Builder
-