Class FaultToleranceOperation
java.lang.Object
io.smallrye.faulttolerance.basicconfig.BasicFaultToleranceOperation
io.smallrye.faulttolerance.config.FaultToleranceOperation
Fault tolerance operation metadata. Used only for declarative fault tolerance.
-
Field Summary
Fields inherited from class io.smallrye.faulttolerance.basicconfig.BasicFaultToleranceOperation
bulkhead, circuitBreaker, description, exponentialBackoff, fibonacciBackoff, rateLimit, retry, timeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.microprofile.faulttolerance.AsynchronousClass<?> io.smallrye.common.annotation.Blockingorg.eclipse.microprofile.faulttolerance.FallbackgetName()io.smallrye.common.annotation.NonBlockingClass<?>[]Class<?> booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidtoString()voidvalidate()ThrowsFaultToleranceDefinitionExceptionif validation fails.Methods inherited from class io.smallrye.faulttolerance.basicconfig.BasicFaultToleranceOperation
getBulkhead, getCircuitBreaker, getExponentialBackoff, getFibonacciBackoff, getRateLimit, getRetry, getTimeout, hasBulkhead, hasCircuitBreaker, hasExponentialBackoff, hasFibonacciBackoff, hasRateLimit, hasRetry, hasTimeout, isValid
-
Constructor Details
-
FaultToleranceOperation
-
-
Method Details
-
getName
-
getBeanClass
-
getMethodDescriptor
-
getParameterTypes
-
getReturnType
-
hasApplyFaultTolerance
public boolean hasApplyFaultTolerance() -
getApplyFaultTolerance
-
hasApplyGuard
public boolean hasApplyGuard() -
getApplyGuard
-
hasAsynchronous
public boolean hasAsynchronous() -
getAsynchronous
public org.eclipse.microprofile.faulttolerance.Asynchronous getAsynchronous() -
hasAsynchronousNonBlocking
public boolean hasAsynchronousNonBlocking() -
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
-
hasFallback
public boolean hasFallback() -
getFallback
public org.eclipse.microprofile.faulttolerance.Fallback getFallback() -
hasCustomBackoff
public boolean hasCustomBackoff() -
getCustomBackoff
-
hasRetryWhen
public boolean hasRetryWhen() -
getRetryWhen
-
hasBeforeRetry
public boolean hasBeforeRetry() -
getBeforeRetry
-
getFallbackMethod
-
getFallbackMethodsWithExceptionParameter
-
getBeforeRetryMethod
-
validate
public void validate()ThrowsFaultToleranceDefinitionExceptionif validation fails.- Overrides:
validatein classBasicFaultToleranceOperation
-
getBackoffConfigs
- Overrides:
getBackoffConfigsin classBasicFaultToleranceOperation
-
materialize
public void materialize()- Overrides:
materializein classBasicFaultToleranceOperation
-
toString
- Overrides:
toStringin classBasicFaultToleranceOperation
-