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

    Constructors
    Constructor
    Description
    GenieCpuHealthIndicator(@NotNull HealthProperties healthProperties, @NotNull io.micrometer.core.instrument.MeterRegistry registry, @NotNull org.springframework.scheduling.TaskScheduler taskScheduler)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.boot.actuate.health.Health
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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 threshold
      registry - Registry
      taskScheduler - task scheduler
  • Method Details

    • health

      public org.springframework.boot.actuate.health.Health health()
      Specified by:
      health in interface org.springframework.boot.actuate.health.HealthIndicator