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

    Constructors
    Constructor
    Description
    BuilderImpl(BuilderEagerDependencies eagerDependencies, Supplier<BuilderLazyDependencies> lazyDependencies, Type valueType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.smallrye.faulttolerance.api.TypedGuard<T>
     
    io.smallrye.faulttolerance.api.TypedGuard.Builder.BulkheadBuilder<T>
     
    io.smallrye.faulttolerance.api.TypedGuard.Builder.CircuitBreakerBuilder<T>
     
    io.smallrye.faulttolerance.api.TypedGuard.Builder<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<T>
    withThreadOffload(boolean value)
     
    io.smallrye.faulttolerance.api.TypedGuard.Builder<T>
     
    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, wait

    Methods inherited from interface io.smallrye.faulttolerance.api.TypedGuard.Builder

    with
  • Constructor Details

  • Method Details

    • withDescription

      public io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withDescription(String value)
      Specified by:
      withDescription in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withBulkhead

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.BulkheadBuilder<T> withBulkhead()
      Specified by:
      withBulkhead in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withCircuitBreaker

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.CircuitBreakerBuilder<T> withCircuitBreaker()
      Specified by:
      withCircuitBreaker in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withFallback

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.FallbackBuilder<T> withFallback()
      Specified by:
      withFallback in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withRateLimit

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.RateLimitBuilder<T> withRateLimit()
      Specified by:
      withRateLimit in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withRetry

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.RetryBuilder<T> withRetry()
      Specified by:
      withRetry in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withTimeout

      public io.smallrye.faulttolerance.api.TypedGuard.Builder.TimeoutBuilder<T> withTimeout()
      Specified by:
      withTimeout in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withThreadOffload

      public io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withThreadOffload(boolean value)
      Specified by:
      withThreadOffload in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • withThreadOffloadExecutor

      public io.smallrye.faulttolerance.api.TypedGuard.Builder<T> withThreadOffloadExecutor(Executor executor)
      Specified by:
      withThreadOffloadExecutor in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>
    • build

      public io.smallrye.faulttolerance.api.TypedGuard<T> build()
      Specified by:
      build in interface io.smallrye.faulttolerance.api.TypedGuard.Builder<V>