Class RetryConfigurationProperties.InstanceProperties

  • Enclosing class:
    RetryConfigurationProperties

    public static class RetryConfigurationProperties.InstanceProperties
    extends java.lang.Object
    Class storing property values for configuring Retry instances.
    • Constructor Detail

      • InstanceProperties

        public InstanceProperties()
    • Method Detail

      • getWaitDuration

        @Nullable
        public java.time.Duration getWaitDuration()
      • getMaxRetryAttempts

        @Nullable
        @Deprecated
        public java.lang.Integer getMaxRetryAttempts()
        Deprecated.
      • getMaxAttempts

        @Nullable
        public java.lang.Integer getMaxAttempts()
      • getRetryExceptionPredicate

        @Nullable
        public java.lang.Class<? extends java.util.function.Predicate<java.lang.Throwable>> getRetryExceptionPredicate()
      • getResultPredicate

        @Nullable
        public java.lang.Class<? extends java.util.function.Predicate<java.lang.Object>> getResultPredicate()
      • getRetryExceptions

        @Nullable
        public java.lang.Class<? extends java.lang.Throwable>[] getRetryExceptions()
      • getIgnoreExceptions

        @Nullable
        public java.lang.Class<? extends java.lang.Throwable>[] getIgnoreExceptions()
      • getEventConsumerBufferSize

        public java.lang.Integer getEventConsumerBufferSize()
      • getEnableExponentialBackoff

        public java.lang.Boolean getEnableExponentialBackoff()
      • getExponentialBackoffMultiplier

        @Nullable
        public java.lang.Double getExponentialBackoffMultiplier()
      • getExponentialMaxWaitDuration

        @Nullable
        public java.time.Duration getExponentialMaxWaitDuration()
      • getEnableRandomizedWait

        @Nullable
        public java.lang.Boolean getEnableRandomizedWait()
      • getRandomizedWaitFactor

        @Nullable
        public java.lang.Double getRandomizedWaitFactor()
      • getBaseConfig

        @Nullable
        public java.lang.String getBaseConfig()
        Gets the shared configuration name. If this is set, the configuration builder will use the the shared configuration backend over this one.
        Returns:
        The shared configuration name.
      • setBaseConfig

        public RetryConfigurationProperties.InstanceProperties setBaseConfig​(java.lang.String baseConfig)
        Sets the shared configuration name. If this is set, the configuration builder will use the the shared configuration backend over this one.
        Parameters:
        baseConfig - The shared configuration name.