Class CircuitBreakerConfig
- java.lang.Object
-
- io.smallrye.faulttolerance.config.GenericConfig<org.eclipse.microprofile.faulttolerance.CircuitBreaker>
-
- io.smallrye.faulttolerance.config.CircuitBreakerConfig
-
public class CircuitBreakerConfig extends GenericConfig<org.eclipse.microprofile.faulttolerance.CircuitBreaker>
- Author:
- Antoine Sabot-Durand
-
-
Field Summary
Fields Modifier and Type Field Description static StringDELAYstatic StringDELAY_UNITstatic StringFAIL_ONstatic StringFAILURE_RATIOstatic StringREQUEST_VOLUME_THRESHOLDstatic StringSKIP_ONstatic StringSUCCESS_THRESHOLDstatic StringSYNCHRONOUS_STATE_VALIDATION-
Fields inherited from class io.smallrye.faulttolerance.config.GenericConfig
annotatedMethod, annotation, annotationSource, annotationType, beanClass, CONFIG_PARAMS_CACHE_KEY, method
-
-
Constructor Summary
Constructors Constructor Description CircuitBreakerConfig(Class<?> beanClass, Method method)CircuitBreakerConfig(javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCircuitBreakerName()protected Map<String,Class<?>>getKeysToType()voidvalidate()-
Methods inherited from class io.smallrye.faulttolerance.config.GenericConfig
get, get, getConfig, getConfigKeyForClass, getConfigKeyForMethod, getMethodInfo
-
-
-
-
Field Detail
-
DELAY
public static final String DELAY
- See Also:
- Constant Field Values
-
DELAY_UNIT
public static final String DELAY_UNIT
- See Also:
- Constant Field Values
-
FAIL_ON
public static final String FAIL_ON
- See Also:
- Constant Field Values
-
SKIP_ON
public static final String SKIP_ON
- See Also:
- Constant Field Values
-
FAILURE_RATIO
public static final String FAILURE_RATIO
- See Also:
- Constant Field Values
-
REQUEST_VOLUME_THRESHOLD
public static final String REQUEST_VOLUME_THRESHOLD
- See Also:
- Constant Field Values
-
SUCCESS_THRESHOLD
public static final String SUCCESS_THRESHOLD
- See Also:
- Constant Field Values
-
SYNCHRONOUS_STATE_VALIDATION
public static final String SYNCHRONOUS_STATE_VALIDATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCircuitBreakerName
public String getCircuitBreakerName()
-
validate
public void validate()
- Specified by:
validatein classGenericConfig<org.eclipse.microprofile.faulttolerance.CircuitBreaker>
-
getKeysToType
protected Map<String,Class<?>> getKeysToType()
- Specified by:
getKeysToTypein classGenericConfig<org.eclipse.microprofile.faulttolerance.CircuitBreaker>
-
-