Class HoggingThreadsHealthCheck

  • All Implemented Interfaces:
    fish.payara.monitoring.collect.MonitoringDataSource, fish.payara.monitoring.collect.MonitoringWatchSource, HealthCheckConstants

    @Service(name="healthcheck-threads")
    @RunLevel(10)
    public class HoggingThreadsHealthCheck
    extends BaseHealthCheck<HealthCheckHoggingThreadsExecutionOptions,​HoggingThreadsChecker>
    implements fish.payara.monitoring.collect.MonitoringDataSource, fish.payara.monitoring.collect.MonitoringWatchSource
    A "hogging thread" is a thread that uses most of the CPU during the measured period.
    Author:
    mertcaliskan (initial version), Jan Bernitt (consumer based and monitoring)