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 java.lang.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
Constructors Constructor Description GenieCpuHealthIndicator(@NotNull HealthProperties healthProperties, @NotNull io.micrometer.core.instrument.MeterRegistry registry, @NotNull org.springframework.scheduling.TaskScheduler taskScheduler)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.boot.actuate.health.Health
health()
-
-
-
Constructor Detail
-
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
-
-