Class FaultToleranceOperation
- java.lang.Object
-
- io.smallrye.faulttolerance.config.FaultToleranceOperation
-
public class FaultToleranceOperation extends Object
Fault tolerance operation metadata.
-
-
Method Summary
-
-
-
Method Detail
-
create
public static FaultToleranceOperation create(FaultToleranceMethod method)
-
getBeanClass
public Class<?> getBeanClass()
-
getMethodDescriptor
public MethodDescriptor getMethodDescriptor()
-
getParameterTypes
public Class<?>[] getParameterTypes()
-
getReturnType
public Class<?> getReturnType()
-
hasApplyFaultTolerance
public boolean hasApplyFaultTolerance()
-
getApplyFaultTolerance
public ApplyFaultTolerance getApplyFaultTolerance()
-
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()
-
hasBulkhead
public boolean hasBulkhead()
-
getBulkhead
public org.eclipse.microprofile.faulttolerance.Bulkhead getBulkhead()
-
hasCircuitBreaker
public boolean hasCircuitBreaker()
-
getCircuitBreaker
public org.eclipse.microprofile.faulttolerance.CircuitBreaker getCircuitBreaker()
-
hasCircuitBreakerName
public boolean hasCircuitBreakerName()
-
getCircuitBreakerName
public CircuitBreakerName getCircuitBreakerName()
-
hasFallback
public boolean hasFallback()
-
getFallback
public org.eclipse.microprofile.faulttolerance.Fallback getFallback()
-
hasRateLimit
public boolean hasRateLimit()
-
getRateLimit
public RateLimit getRateLimit()
-
hasRetry
public boolean hasRetry()
-
getRetry
public org.eclipse.microprofile.faulttolerance.Retry getRetry()
-
hasTimeout
public boolean hasTimeout()
-
getTimeout
public org.eclipse.microprofile.faulttolerance.Timeout getTimeout()
-
hasExponentialBackoff
public boolean hasExponentialBackoff()
-
getExponentialBackoff
public ExponentialBackoff getExponentialBackoff()
-
hasFibonacciBackoff
public boolean hasFibonacciBackoff()
-
getFibonacciBackoff
public FibonacciBackoff getFibonacciBackoff()
-
hasCustomBackoff
public boolean hasCustomBackoff()
-
getCustomBackoff
public CustomBackoff getCustomBackoff()
-
hasRetryWhen
public boolean hasRetryWhen()
-
getRetryWhen
public RetryWhen getRetryWhen()
-
hasBeforeRetry
public boolean hasBeforeRetry()
-
getBeforeRetry
public BeforeRetry getBeforeRetry()
-
getName
public String getName()
-
isValid
public boolean isValid()
-
validate
public void validate()
ThrowsFaultToleranceDefinitionExceptionif validation fails.
-
materialize
public void materialize()
Ensures all configuration of this fault tolerance operation is loaded. Subsequent method invocations on this instance are guaranteed to not touch MP Config.
-
-