public class FaultToleranceOperation extends Object
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getBeanClass() |
BulkheadConfig |
getBulkhead() |
CircuitBreakerConfig |
getCircuitBreaker() |
FallbackConfig |
getFallback() |
Method |
getMethod() |
RetryConfig |
getRetry() |
TimeoutConfig |
getTimeout() |
boolean |
hasBulkhead() |
boolean |
hasCircuitBreaker() |
boolean |
hasFallback() |
boolean |
hasRetry() |
boolean |
hasTimeout() |
boolean |
isAsync() |
boolean |
isLegitimate() |
boolean |
isValid() |
static FaultToleranceOperation |
of(javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod) |
static FaultToleranceOperation |
of(Class<?> beanClass,
Method method) |
boolean |
returnsCompletionStage() |
String |
toString() |
void |
validate()
Throws
FaultToleranceDefinitionException if validation fails. |
public static FaultToleranceOperation of(javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod)
public static FaultToleranceOperation of(Class<?> beanClass, Method method)
public boolean isAsync()
public boolean returnsCompletionStage()
public boolean hasBulkhead()
public BulkheadConfig getBulkhead()
public CircuitBreakerConfig getCircuitBreaker()
public boolean hasCircuitBreaker()
public FallbackConfig getFallback()
public boolean hasFallback()
public RetryConfig getRetry()
public boolean hasRetry()
public TimeoutConfig getTimeout()
public boolean hasTimeout()
public Method getMethod()
public Class<?> getBeanClass()
public boolean isLegitimate()
public boolean isValid()
public void validate()
FaultToleranceDefinitionException if validation fails.Copyright © 2018–2020. All rights reserved.