Class KubernetesBootstrapConfiguration.RetryConfiguration
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.KubernetesBootstrapConfiguration.RetryConfiguration
- Enclosing class:
KubernetesBootstrapConfiguration
@ConditionalOnKubernetesConfigOrSecretsRetryEnabled
@ConditionalOnClass({org.springframework.retry.annotation.Retryable.class,org.aspectj.lang.annotation.Aspect.class,org.springframework.boot.autoconfigure.aop.AopAutoConfiguration.class})
@Configuration(proxyBeanMethods=false)
@EnableRetry(proxyTargetClass=true)
@Import(org.springframework.boot.autoconfigure.aop.AopAutoConfiguration.class)
public static class KubernetesBootstrapConfiguration.RetryConfiguration
extends Object
- Author:
- Ryan Baxter, Isik Erhan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.retry.interceptor.RetryOperationsInterceptorkubernetesConfigRetryInterceptor(ConfigMapConfigProperties configProperties) org.springframework.retry.interceptor.RetryOperationsInterceptororg.springframework.retry.interceptor.RetryOperationsInterceptorkubernetesSecretsRetryInterceptor(SecretsConfigProperties configProperties) org.springframework.retry.interceptor.RetryOperationsInterceptorstatic org.springframework.retry.interceptor.RetryOperationsInterceptorretryOperationsInterceptor(RetryProperties retryProperties)
-
Constructor Details
-
RetryConfiguration
public RetryConfiguration()
-
-
Method Details
-
retryOperationsInterceptor
public static org.springframework.retry.interceptor.RetryOperationsInterceptor retryOperationsInterceptor(RetryProperties retryProperties) -
kubernetesConfigRetryInterceptor
@Bean @ConditionalOnKubernetesConfigRetryEnabled public org.springframework.retry.interceptor.RetryOperationsInterceptor kubernetesConfigRetryInterceptor(ConfigMapConfigProperties configProperties) -
kubernetesConfigRetryInterceptorNoRetry
@Bean("kubernetesConfigRetryInterceptor") @ConditionalOnKubernetesConfigRetryDisabled public org.springframework.retry.interceptor.RetryOperationsInterceptor kubernetesConfigRetryInterceptorNoRetry() -
kubernetesSecretsRetryInterceptor
@Bean @ConditionalOnKubernetesSecretsRetryEnabled public org.springframework.retry.interceptor.RetryOperationsInterceptor kubernetesSecretsRetryInterceptor(SecretsConfigProperties configProperties) -
kubernetesSecretsRetryInterceptorNoRetry
@Bean("kubernetesSecretsRetryInterceptor") @ConditionalOnKubernetesSecretsRetryDisabled public org.springframework.retry.interceptor.RetryOperationsInterceptor kubernetesSecretsRetryInterceptorNoRetry()
-