public static class RetryConfigurationProperties.InstanceProperties
extends java.lang.Object
Retry
instances.| Constructor and Description |
|---|
InstanceProperties() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBaseConfig()
Gets the shared configuration name.
|
java.lang.Boolean |
getEnableExponentialBackoff() |
java.lang.Boolean |
getEnableRandomizedWait() |
java.lang.Integer |
getEventConsumerBufferSize() |
java.lang.Double |
getExponentialBackoffMultiplier() |
java.lang.Class<? extends java.lang.Throwable>[] |
getIgnoreExceptions() |
java.lang.Integer |
getMaxRetryAttempts() |
java.lang.Double |
getRandomizedWaitFactor() |
java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>> |
getResultPredicate() |
java.lang.Class<? extends java.util.function.Predicate<java.lang.Throwable>> |
getRetryExceptionPredicate() |
java.lang.Class<? extends java.lang.Throwable>[] |
getRetryExceptions() |
java.time.Duration |
getWaitDuration() |
RetryConfigurationProperties.InstanceProperties |
setBaseConfig(java.lang.String baseConfig)
Sets the shared configuration name.
|
RetryConfigurationProperties.InstanceProperties |
setEnableExponentialBackoff(java.lang.Boolean enableExponentialBackoff) |
RetryConfigurationProperties.InstanceProperties |
setEnableRandomizedWait(java.lang.Boolean enableRandomizedWait) |
RetryConfigurationProperties.InstanceProperties |
setEventConsumerBufferSize(java.lang.Integer eventConsumerBufferSize) |
RetryConfigurationProperties.InstanceProperties |
setExponentialBackoffMultiplier(java.lang.Double exponentialBackoffMultiplier) |
RetryConfigurationProperties.InstanceProperties |
setIgnoreExceptions(java.lang.Class<? extends java.lang.Throwable>[] ignoreExceptions) |
RetryConfigurationProperties.InstanceProperties |
setMaxRetryAttempts(java.lang.Integer maxRetryAttempts) |
RetryConfigurationProperties.InstanceProperties |
setRandomizedWaitFactor(java.lang.Double randomizedWaitFactor) |
RetryConfigurationProperties.InstanceProperties |
setResultPredicate(java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>> resultPredicate) |
RetryConfigurationProperties.InstanceProperties |
setRetryExceptionPredicate(java.lang.Class<? extends java.util.function.Predicate<java.lang.Throwable>> retryExceptionPredicate) |
RetryConfigurationProperties.InstanceProperties |
setRetryExceptions(java.lang.Class<? extends java.lang.Throwable>[] retryExceptions) |
RetryConfigurationProperties.InstanceProperties |
setWaitDuration(java.time.Duration waitDuration) |
@Nullable public java.time.Duration getWaitDuration()
public RetryConfigurationProperties.InstanceProperties setWaitDuration(java.time.Duration waitDuration)
@Nullable public java.lang.Integer getMaxRetryAttempts()
public RetryConfigurationProperties.InstanceProperties setMaxRetryAttempts(java.lang.Integer maxRetryAttempts)
@Nullable public java.lang.Class<? extends java.util.function.Predicate<java.lang.Throwable>> getRetryExceptionPredicate()
public RetryConfigurationProperties.InstanceProperties setRetryExceptionPredicate(java.lang.Class<? extends java.util.function.Predicate<java.lang.Throwable>> retryExceptionPredicate)
@Nullable public java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>> getResultPredicate()
public RetryConfigurationProperties.InstanceProperties setResultPredicate(java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>> resultPredicate)
@Nullable public java.lang.Class<? extends java.lang.Throwable>[] getRetryExceptions()
public RetryConfigurationProperties.InstanceProperties setRetryExceptions(java.lang.Class<? extends java.lang.Throwable>[] retryExceptions)
@Nullable public java.lang.Class<? extends java.lang.Throwable>[] getIgnoreExceptions()
public RetryConfigurationProperties.InstanceProperties setIgnoreExceptions(java.lang.Class<? extends java.lang.Throwable>[] ignoreExceptions)
public java.lang.Integer getEventConsumerBufferSize()
public RetryConfigurationProperties.InstanceProperties setEventConsumerBufferSize(java.lang.Integer eventConsumerBufferSize)
public java.lang.Boolean getEnableExponentialBackoff()
public RetryConfigurationProperties.InstanceProperties setEnableExponentialBackoff(java.lang.Boolean enableExponentialBackoff)
@Nullable public java.lang.Double getExponentialBackoffMultiplier()
public RetryConfigurationProperties.InstanceProperties setExponentialBackoffMultiplier(java.lang.Double exponentialBackoffMultiplier)
@Nullable public java.lang.Boolean getEnableRandomizedWait()
public RetryConfigurationProperties.InstanceProperties setEnableRandomizedWait(java.lang.Boolean enableRandomizedWait)
@Nullable public java.lang.Double getRandomizedWaitFactor()
public RetryConfigurationProperties.InstanceProperties setRandomizedWaitFactor(java.lang.Double randomizedWaitFactor)
@Nullable public java.lang.String getBaseConfig()
public RetryConfigurationProperties.InstanceProperties setBaseConfig(java.lang.String baseConfig)
baseConfig - The shared configuration name.