Class AspectsAutoConfiguration
- java.lang.Object
-
- com.netflix.genie.web.spring.autoconfigure.aspects.AspectsAutoConfiguration
-
@Configuration @EnableConfigurationProperties(DataServiceRetryProperties.class) @EnableAspectJAutoProxy public class AspectsAutoConfiguration extends java.lang.Object
Auto configuration for aspects that should be applied to a running Genie server instance.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description AspectsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataServiceRetryAspect
getDataServiceRetryAspect(DataServiceRetryProperties retryProperties)
An aspect for retrying data layer API calls.HealthCheckMetricsAspect
healthCheckMetricsAspect(io.micrometer.core.instrument.MeterRegistry meterRegistry)
An aspect for collecting metrics for health checks.SystemArchitecture
systemArchitecture()
A bean that defines pointcuts for various layers of the Genie system.
-
-
-
Method Detail
-
getDataServiceRetryAspect
@Bean @ConditionalOnMissingBean(DataServiceRetryAspect.class) public DataServiceRetryAspect getDataServiceRetryAspect(DataServiceRetryProperties retryProperties)
An aspect for retrying data layer API calls.- Parameters:
retryProperties
- The properties a user can configure for this aspect- Returns:
- A
DataServiceRetryAspect
instance
-
healthCheckMetricsAspect
@Bean @ConditionalOnMissingBean(HealthCheckMetricsAspect.class) public HealthCheckMetricsAspect healthCheckMetricsAspect(io.micrometer.core.instrument.MeterRegistry meterRegistry)
An aspect for collecting metrics for health checks.- Parameters:
meterRegistry
- The metrics repository to use- Returns:
- The instance of
HealthCheckMetricsAspect
-
systemArchitecture
@Bean @ConditionalOnMissingBean(SystemArchitecture.class) public SystemArchitecture systemArchitecture()
A bean that defines pointcuts for various layers of the Genie system.- Returns:
- A
SystemArchitecture
instance
-
-