Class HealthAutoConfiguration
- java.lang.Object
-
- com.netflix.genie.web.spring.autoconfigure.health.HealthAutoConfiguration
-
@Configuration @EnableConfigurationProperties(HealthProperties.class) public class HealthAutoConfiguration extends java.lang.Object
Auto configuration for Health indicators related to Genie.- Since:
- 4.0.0
- See Also:
com.netflix.genie.web.health
-
-
Constructor Summary
Constructors Constructor Description HealthAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenieAgentHealthIndicator
genieAgentHealthIndicator(AgentConnectionTrackingService agentConnectionTrackingService)
Provide a health indicator tied to agent related information if one hasn't already been provided elsewhere.
-
-
-
Method Detail
-
genieAgentHealthIndicator
@Bean @ConditionalOnMissingBean(GenieAgentHealthIndicator.class) public GenieAgentHealthIndicator genieAgentHealthIndicator(AgentConnectionTrackingService agentConnectionTrackingService)
Provide a health indicator tied to agent related information if one hasn't already been provided elsewhere.- Parameters:
agentConnectionTrackingService
- the agent connection tracking service- Returns:
- An instance of
GenieAgentHealthIndicator
-
-