Class FaultToleranceOperation

java.lang.Object
io.smallrye.faulttolerance.basicconfig.BasicFaultToleranceOperation
io.smallrye.faulttolerance.config.FaultToleranceOperation

public class FaultToleranceOperation extends BasicFaultToleranceOperation
Fault tolerance operation metadata. Used only for declarative fault tolerance.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getBeanClass

      public Class<?> getBeanClass()
    • getMethodDescriptor

      public MethodDescriptor getMethodDescriptor()
    • getParameterTypes

      public Class<?>[] getParameterTypes()
    • getReturnType

      public Class<?> getReturnType()
    • hasApplyFaultTolerance

      public boolean hasApplyFaultTolerance()
    • getApplyFaultTolerance

      public ApplyFaultTolerance getApplyFaultTolerance()
    • hasApplyGuard

      public boolean hasApplyGuard()
    • getApplyGuard

      public ApplyGuard getApplyGuard()
    • hasAsynchronous

      public boolean hasAsynchronous()
    • getAsynchronous

      public org.eclipse.microprofile.faulttolerance.Asynchronous getAsynchronous()
    • hasAsynchronousNonBlocking

      public boolean hasAsynchronousNonBlocking()
    • getAsynchronousNonBlocking

      public AsynchronousNonBlocking getAsynchronousNonBlocking()
    • hasBlocking

      public boolean hasBlocking()
    • getBlocking

      public io.smallrye.common.annotation.Blocking getBlocking()
    • hasNonBlocking

      public boolean hasNonBlocking()
    • getNonBlocking

      public io.smallrye.common.annotation.NonBlocking getNonBlocking()
    • isThreadOffloadRequired

      public boolean isThreadOffloadRequired()
    • hasCircuitBreakerName

      public boolean hasCircuitBreakerName()
    • getCircuitBreakerName

      public CircuitBreakerName getCircuitBreakerName()
    • hasFallback

      public boolean hasFallback()
    • getFallback

      public org.eclipse.microprofile.faulttolerance.Fallback getFallback()
    • hasCustomBackoff

      public boolean hasCustomBackoff()
    • getCustomBackoff

      public CustomBackoff getCustomBackoff()
    • hasRetryWhen

      public boolean hasRetryWhen()
    • getRetryWhen

      public RetryWhen getRetryWhen()
    • hasBeforeRetry

      public boolean hasBeforeRetry()
    • getBeforeRetry

      public BeforeRetry getBeforeRetry()
    • getFallbackMethod

      public Method getFallbackMethod()
    • getFallbackMethodsWithExceptionParameter

      public List<Method> getFallbackMethodsWithExceptionParameter()
    • getBeforeRetryMethod

      public Method getBeforeRetryMethod()
    • validate

      public void validate()
      Throws FaultToleranceDefinitionException if validation fails.
      Overrides:
      validate in class BasicFaultToleranceOperation
    • getBackoffConfigs

      protected List<Config> getBackoffConfigs()
      Overrides:
      getBackoffConfigs in class BasicFaultToleranceOperation
    • materialize

      public void materialize()
      Overrides:
      materialize in class BasicFaultToleranceOperation
    • toString

      public String toString()
      Overrides:
      toString in class BasicFaultToleranceOperation