Class FaultToleranceOperation
- java.lang.Object
-
- io.smallrye.faulttolerance.config.FaultToleranceOperation
-
public class FaultToleranceOperation extends Object
Fault tolerance operation metadata.- Author:
- Martin Kouba
-
-
Method Summary
-
-
-
Method Detail
-
create
public static FaultToleranceOperation create(FaultToleranceMethod method)
-
getParameterTypes
public Class<?>[] getParameterTypes()
-
getReturnType
public Class<?> getReturnType()
-
hasApplyFaultTolerance
public boolean hasApplyFaultTolerance()
-
getApplyFaultTolerance
public ApplyFaultTolerance getApplyFaultTolerance()
-
hasAsynchronous
public boolean hasAsynchronous()
-
hasBlocking
public boolean hasBlocking()
-
hasNonBlocking
public boolean hasNonBlocking()
-
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()
-
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()
-
getName
public String getName()
-
isValid
public boolean isValid()
-
validate
public void validate()
ThrowsFaultToleranceDefinitionExceptionif validation fails.
-
-