@Configuration @EnableConfigurationProperties(value=HealthProperties.class) public class HealthAutoConfiguration extends java.lang.Object
com.netflix.genie.web.health| Constructor and Description |
|---|
HealthAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GenieAgentHealthIndicator |
genieAgentHealthIndicator(AgentMetricsService agentMetricsService)
Provide a health indicator tied to agent related information if one hasn't already been provided elsewhere.
|
GenieMemoryHealthIndicator |
genieMemoryHealthIndicator(JobMetricsService jobMetricsService,
JobsProperties jobsProperties)
Provide a health indicator related to job memory usage if one hasn't already been provided elsewhere.
|
LocalAgentLauncherHealthIndicator |
localAgentLauncherHealthIndicator(DataServices dataServices,
LocalAgentLauncherProperties launcherProperties,
GenieHostInfo genieHostInfo)
Provide a health indicator tied to the ability to launch jobs with agents on the local hardware.
|
@Bean @ConditionalOnMissingBean(value=GenieMemoryHealthIndicator.class) public GenieMemoryHealthIndicator genieMemoryHealthIndicator(JobMetricsService jobMetricsService, JobsProperties jobsProperties)
jobMetricsService - Implementation of JobMetricsService to usejobsProperties - The JobsProperties to useGenieMemoryHealthIndicator@Bean @ConditionalOnMissingBean(value=GenieAgentHealthIndicator.class) public GenieAgentHealthIndicator genieAgentHealthIndicator(AgentMetricsService agentMetricsService)
agentMetricsService - AgentMetricsService implementation to useGenieAgentHealthIndicator@Bean @ConditionalOnMissingBean(value=LocalAgentLauncherHealthIndicator.class) @ConditionalOnBean(value={LocalAgentLauncherProperties.class,LocalAgentLauncherImpl.class}) public LocalAgentLauncherHealthIndicator localAgentLauncherHealthIndicator(DataServices dataServices, LocalAgentLauncherProperties launcherProperties, GenieHostInfo genieHostInfo)
dataServices - The DataServices instance to uselauncherProperties - The properties related to launching agent jobs locallygenieHostInfo - The GenieHostInfo to useLocalAgentLauncherHealthIndicator instance