public class DeadlockHealthCheck extends HealthCheck
HealthCheck implementation which returns a list of deadlocked threads, if any.HealthCheck.Result| Constructor and Description |
|---|
DeadlockHealthCheck()
Creates a new
DeadlockHealthCheck. |
DeadlockHealthCheck(VirtualMachineMetrics vm)
Creates a new
DeadlockHealthCheck with the given VirtualMachineMetrics
instance. |
| Modifier and Type | Method and Description |
|---|---|
protected HealthCheck.Result |
check()
Perform a check of the application component.
|
execute, getNamepublic DeadlockHealthCheck(VirtualMachineMetrics vm)
DeadlockHealthCheck with the given VirtualMachineMetrics
instance.vm - a VirtualMachineMetrics instancepublic DeadlockHealthCheck()
DeadlockHealthCheck.protected 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 © 2012. All Rights Reserved.