public class FaultToleranceOperation extends Object
Modifier and Type | Method and Description |
---|---|
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() |
static FaultToleranceOperation |
of(<any> annotatedMethod) |
String |
toString() |
boolean |
validate()
Throws
FaultToleranceDefinitionException if validation fails. |
public static FaultToleranceOperation of(<any> annotatedMethod)
public boolean isAsync()
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 boolean isLegitimate()
public boolean validate()
FaultToleranceDefinitionException
if validation fails.Copyright © 2018 JBoss by Red Hat. All rights reserved.