Class HealthAutoConfiguration
java.lang.Object
com.netflix.genie.web.spring.autoconfigure.health.HealthAutoConfiguration
@Configuration
@EnableConfigurationProperties(HealthProperties.class)
public class HealthAutoConfiguration
extends Object
Auto configuration for Health indicators related to Genie.
- Since:
- 4.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenieAgentHealthIndicator
(AgentConnectionTrackingService agentConnectionTrackingService) Provide a health indicator tied to agent related information if one hasn't already been provided elsewhere.
-
Constructor Details
-
HealthAutoConfiguration
public HealthAutoConfiguration()
-
-
Method Details
-
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
-