Class RetryConfig
- java.lang.Object
-
- io.smallrye.faulttolerance.config.GenericConfig<org.eclipse.microprofile.faulttolerance.Retry>
-
- io.smallrye.faulttolerance.config.RetryConfig
-
public class RetryConfig extends GenericConfig<org.eclipse.microprofile.faulttolerance.Retry>
- Author:
- Antoine Sabot-Durand
-
-
Field Summary
Fields Modifier and Type Field Description static StringABORT_ONstatic StringDELAYstatic StringDELAY_UNITstatic StringDURATION_UNITstatic StringJITTERstatic StringJITTER_DELAY_UNITstatic StringMAX_DURATIONstatic StringMAX_RETRIESstatic StringRETRY_ON-
Fields inherited from class io.smallrye.faulttolerance.config.GenericConfig
annotatedMethod, annotation, annotationSource, annotationType, beanClass, CONFIG_PARAMS_CACHE_KEY, method
-
-
Constructor Summary
Constructors Constructor Description RetryConfig(Class<?> beanClass, Method method)RetryConfig(javax.enterprise.inject.spi.AnnotatedMethod<?> annotatedMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Class<?>>getKeysToType()voidvalidate()-
Methods inherited from class io.smallrye.faulttolerance.config.GenericConfig
get, get, getConfig, getConfigKeyForClass, getConfigKeyForMethod, getMethodInfo
-
-
-
-
Field Detail
-
MAX_RETRIES
public static final String MAX_RETRIES
- See Also:
- Constant Field Values
-
DELAY
public static final String DELAY
- See Also:
- Constant Field Values
-
DELAY_UNIT
public static final String DELAY_UNIT
- See Also:
- Constant Field Values
-
MAX_DURATION
public static final String MAX_DURATION
- See Also:
- Constant Field Values
-
DURATION_UNIT
public static final String DURATION_UNIT
- See Also:
- Constant Field Values
-
JITTER
public static final String JITTER
- See Also:
- Constant Field Values
-
JITTER_DELAY_UNIT
public static final String JITTER_DELAY_UNIT
- See Also:
- Constant Field Values
-
RETRY_ON
public static final String RETRY_ON
- See Also:
- Constant Field Values
-
ABORT_ON
public static final String ABORT_ON
- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public void validate()
- Specified by:
validatein classGenericConfig<org.eclipse.microprofile.faulttolerance.Retry>
-
getKeysToType
protected Map<String,Class<?>> getKeysToType()
- Specified by:
getKeysToTypein classGenericConfig<org.eclipse.microprofile.faulttolerance.Retry>
-
-