Package io.smallrye.health.checks
Class ThreadHealthCheck
- java.lang.Object
-
- io.smallrye.health.checks.ThreadHealthCheck
-
- All Implemented Interfaces:
org.eclipse.microprofile.health.HealthCheck
public class ThreadHealthCheck extends Object implements org.eclipse.microprofile.health.HealthCheck
Health check implementation that is checking the number of threads@Produces @ApplicationScoped @Liveness HealthCheck check1() { return new ThreadHealthCheck(9999999L); }
-
-
Constructor Summary
Constructors Constructor Description ThreadHealthCheck(long maxThreadCount)
-