public class GenieCpuHealthIndicator
extends java.lang.Object
implements org.springframework.boot.actuate.health.HealthIndicator
| Constructor and Description |
|---|
GenieCpuHealthIndicator(HealthProperties healthProperties,
com.netflix.spectator.api.Registry registry,
org.springframework.scheduling.TaskScheduler taskScheduler)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.boot.actuate.health.Health |
health() |
@Autowired
public GenieCpuHealthIndicator(@NotNull
HealthProperties healthProperties,
@NotNull
com.netflix.spectator.api.Registry registry,
@NotNull
org.springframework.scheduling.TaskScheduler taskScheduler)
healthProperties - The maximum physical memory thresholdregistry - RegistrytaskScheduler - task scheduler