Class RetryConfigImpl
- java.lang.Object
-
- io.smallrye.faulttolerance.config.RetryConfigImpl
-
- All Implemented Interfaces:
Config,RetryConfig,Annotation
public final class RetryConfigImpl extends Object implements RetryConfig
Automatically generated from theRetryConfigconfig interface, do not modify.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Throwable>[]abortOn()Class<? extends Annotation>annotationType()Class<?>beanClass()static RetryConfigImplcreate(FaultToleranceMethod method)longdelay()ChronoUnitdelayUnit()ChronoUnitdurationUnit()booleanisOnMethod()longjitter()ChronoUnitjitterDelayUnit()longmaxDuration()intmaxRetries()MethodDescriptormethod()Class<? extends Throwable>[]retryOn()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.annotation.Annotation
equals, hashCode, toString
-
Methods inherited from interface io.smallrye.faulttolerance.config.RetryConfig
validate
-
-
-
-
Method Detail
-
create
public static RetryConfigImpl create(FaultToleranceMethod method)
-
method
public MethodDescriptor method()
-
annotationType
public Class<? extends Annotation> annotationType()
- Specified by:
annotationTypein interfaceAnnotation- Specified by:
annotationTypein interfaceConfig
-
isOnMethod
public boolean isOnMethod()
- Specified by:
isOnMethodin interfaceConfig
-
maxRetries
public int maxRetries()
-
delay
public long delay()
-
delayUnit
public ChronoUnit delayUnit()
-
maxDuration
public long maxDuration()
-
durationUnit
public ChronoUnit durationUnit()
-
jitter
public long jitter()
-
jitterDelayUnit
public ChronoUnit jitterDelayUnit()
-
-