Class MicroProfileHealthReporter
- java.lang.Object
-
- org.wildfly.extension.microprofile.health.MicroProfileHealthReporter
-
public class MicroProfileHealthReporter extends Object
-
-
Constructor Summary
Constructors Constructor Description MicroProfileHealthReporter(String emptyLivenessChecksStatus, String emptyReadinessChecksStatus, String emptyStartupChecksStatus, boolean defaultServerProceduresDisabled, String defaultReadinessEmptyResponse, String defaultStartupEmptyResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHealthCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)voidaddLivenessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)voidaddReadinessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)voidaddServerReadinessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)voidaddStartupCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)io.smallrye.health.SmallRyeHealthgetHealth()io.smallrye.health.SmallRyeHealthgetLiveness()io.smallrye.health.SmallRyeHealthgetReadiness()io.smallrye.health.SmallRyeHealthgetStartup()voidremoveHealthCheck(org.eclipse.microprofile.health.HealthCheck check)voidremoveLivenessCheck(org.eclipse.microprofile.health.HealthCheck check)voidremoveReadinessCheck(org.eclipse.microprofile.health.HealthCheck check)voidremoveStartupCheck(org.eclipse.microprofile.health.HealthCheck check)voidsetUserChecksProcessed(boolean userChecksProcessed)
-
-
-
Field Detail
-
DOWN
public static final String DOWN
- See Also:
- Constant Field Values
-
UP
public static final String UP
- See Also:
- Constant Field Values
-
-
Method Detail
-
getHealth
public io.smallrye.health.SmallRyeHealth getHealth()
-
getLiveness
public io.smallrye.health.SmallRyeHealth getLiveness()
-
getReadiness
public io.smallrye.health.SmallRyeHealth getReadiness()
-
getStartup
public io.smallrye.health.SmallRyeHealth getStartup()
-
addHealthCheck
public void addHealthCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)
-
removeHealthCheck
public void removeHealthCheck(org.eclipse.microprofile.health.HealthCheck check)
-
addReadinessCheck
public void addReadinessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)
-
addServerReadinessCheck
public void addServerReadinessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)
-
removeReadinessCheck
public void removeReadinessCheck(org.eclipse.microprofile.health.HealthCheck check)
-
addLivenessCheck
public void addLivenessCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)
-
removeLivenessCheck
public void removeLivenessCheck(org.eclipse.microprofile.health.HealthCheck check)
-
addStartupCheck
public void addStartupCheck(org.eclipse.microprofile.health.HealthCheck check, ClassLoader moduleClassLoader)
-
removeStartupCheck
public void removeStartupCheck(org.eclipse.microprofile.health.HealthCheck check)
-
setUserChecksProcessed
public void setUserChecksProcessed(boolean userChecksProcessed)
-
-