com.yammer.metrics.core
Class DeadlockHealthCheck

java.lang.Object
  extended by com.yammer.metrics.core.HealthCheck
      extended by com.yammer.metrics.core.DeadlockHealthCheck

public class DeadlockHealthCheck
extends HealthCheck

A HealthCheck implementation which returns a list of deadlocked threads, if any.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.yammer.metrics.core.HealthCheck
HealthCheck.Result
 
Constructor Summary
DeadlockHealthCheck()
           
 
Method Summary
 HealthCheck.Result check()
           
 String name()
           
 
Methods inherited from class com.yammer.metrics.core.HealthCheck
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeadlockHealthCheck

public DeadlockHealthCheck()
Method Detail

check

public HealthCheck.Result check()
                         throws Exception
Specified by:
check in class HealthCheck
Throws:
Exception

name

public String name()
Specified by:
name in class HealthCheck


Copyright © 2011. All Rights Reserved.