public class ThreadDeadlockHealthCheck extends HealthCheck
HealthCheck.Result| Constructor and Description |
|---|
ThreadDeadlockHealthCheck()
Creates a new health check.
|
ThreadDeadlockHealthCheck(com.codahale.metrics.jvm.ThreadDeadlockDetector detector)
Creates a new health check with the given detector.
|
| Modifier and Type | Method and Description |
|---|---|
protected HealthCheck.Result |
check()
Perform a check of the application component.
|
executepublic ThreadDeadlockHealthCheck()
public ThreadDeadlockHealthCheck(com.codahale.metrics.jvm.ThreadDeadlockDetector detector)
detector - a thread deadlock detectorprotected HealthCheck.Result check() throws Exception
HealthCheckcheck in class HealthCheckHealthCheck.Result; otherwise, an unhealthy HealthCheck.Result with a descriptive error message or exceptionException - if there is an unhandled error during the health check; this will result in
a failed health checkCopyright © 2015. All Rights Reserved.