- java.lang.Object
 - 
- io.helidon.health.checks.DeadlockHealthCheck
 
 
- 
- All Implemented Interfaces:
 HealthCheck
@Liveness @ApplicationScoped @BuiltInHealthCheck public class DeadlockHealthCheck extends Object implements HealthCheck
A health check that looks for thread deadlocks. Automatically created and registered via CDI.This health check can be referred to in properties as
deadlock. So for example, to exclude this health check from being exposed, usehelidon.health.exclude: deadlock. 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthCheckResponsecall()static DeadlockHealthCheckcreate(ThreadMXBean threadBean)Create a new deadlock health check to use. 
 - 
 
- 
- 
Method Detail
- 
create
public static DeadlockHealthCheck create(ThreadMXBean threadBean)
Create a new deadlock health check to use.- Parameters:
 threadBean- thread mx bean to get thread monitoring data from- Returns:
 - a new health check to register with
         
HealthSupport.Builder.addLiveness(org.eclipse.microprofile.health.HealthCheck...) 
 
- 
call
public HealthCheckResponse call()
- Specified by:
 callin interfaceHealthCheck
 
 - 
 
 -