@Service(name="healthcheck-threads") @RunLevel(value=10) public class HoggingThreadsHealthCheck extends BaseHealthCheck<HealthCheckHoggingThreadsExecutionOptions,HoggingThreadsChecker>
checkerType, healthCheckService, optionsDEFAULT_CONNECTION_POOL_NAME, DEFAULT_CPU_USAGE_NAME, DEFAULT_ENABLED, DEFAULT_GARBAGE_COLLECTOR_NAME, DEFAULT_HEAP_MEMORY_USAGE_NAME, DEFAULT_HOGGING_THREADS_NAME, DEFAULT_MACHINE_MEMORY_USAGE_NAME, DEFAULT_RETRY_COUNT, DEFAULT_THRESHOLD_PERCENTAGE, DEFAULT_TIME, DEFAULT_UNIT, DEFUALT_STUCK_THEAD_NAME, FIVE_MIN, OLD_CONCURRENTMARKSWEEP, OLD_G1GC, OLD_MARK_SWEEP_COMPACT, OLD_PS_MARKSWEEP, ONE_GB, ONE_KB, ONE_MB, ONE_MIN, ONE_SEC, THRESHOLD_CRITICAL, THRESHOLD_DEFAULTVAL_CRITICAL, THRESHOLD_DEFAULTVAL_GOOD, THRESHOLD_DEFAULTVAL_WARNING, THRESHOLD_GOOD, THRESHOLD_WARNING, YOUNG_COPY, YOUNG_G1GC, YOUNG_PARNEW, YOUNG_PS_SCAVENGE| Constructor and Description |
|---|
HoggingThreadsHealthCheck() |
| Modifier and Type | Method and Description |
|---|---|
HealthCheckHoggingThreadsExecutionOptions |
constructOptions(HoggingThreadsChecker checker) |
HealthCheckResult |
doCheck() |
String |
getDescription()
The key for a human-friendly description of the healthcheck
|
asTimeUnit, constructBaseOptions, decideOnStatusWithDuration, getCheckerType, getOptions, postConstruct, prettyPrintBytes, prettyPrintStackTrace, resolveDescription, sendNotification, setOptionspublic HealthCheckHoggingThreadsExecutionOptions constructOptions(HoggingThreadsChecker checker)
constructOptions in class BaseHealthCheck<HealthCheckHoggingThreadsExecutionOptions,HoggingThreadsChecker>public String getDescription()
BaseHealthCheckgetDescription in class BaseHealthCheck<HealthCheckHoggingThreadsExecutionOptions,HoggingThreadsChecker>public HealthCheckResult doCheck()
doCheck in class BaseHealthCheck<HealthCheckHoggingThreadsExecutionOptions,HoggingThreadsChecker>Copyright © 2017. All rights reserved.