Package com.netflix.genie.web.health
Class GenieCpuHealthIndicator
java.lang.Object
com.netflix.genie.web.health.GenieCpuHealthIndicator
- All Implemented Interfaces:
 org.springframework.boot.actuate.health.HealthContributor,org.springframework.boot.actuate.health.HealthIndicator
public class GenieCpuHealthIndicator
extends Object
implements org.springframework.boot.actuate.health.HealthIndicator
Health indicator for system cpu usage. Mark the service out-of-service if it crosses the threshold.
- Since:
 - 3.0.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionGenieCpuHealthIndicator(@NotNull HealthProperties healthProperties, @NotNull io.micrometer.core.instrument.MeterRegistry registry, @NotNull org.springframework.scheduling.TaskScheduler taskScheduler) Constructor. - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.actuate.health.HealthIndicator
getHealth 
- 
Constructor Details
- 
GenieCpuHealthIndicator
public GenieCpuHealthIndicator(@NotNull @NotNull HealthProperties healthProperties, @NotNull @NotNull io.micrometer.core.instrument.MeterRegistry registry, @NotNull @NotNull org.springframework.scheduling.TaskScheduler taskScheduler) Constructor.- Parameters:
 healthProperties- The maximum physical memory thresholdregistry- RegistrytaskScheduler- task scheduler
 
 - 
 - 
Method Details
- 
health
public org.springframework.boot.actuate.health.Health health()- Specified by:
 healthin interfaceorg.springframework.boot.actuate.health.HealthIndicator
 
 -