public class MicroProfileHealthReporter extends Object
| Constructor and Description |
|---|
MicroProfileHealthReporter(String emptyLivenessChecksStatus,
String emptyReadinessChecksStatus,
boolean defaultServerProceduresDisabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHealthCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader) |
void |
addLivenessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader) |
void |
addReadinessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader) |
void |
addServerReadinessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader) |
io.smallrye.health.SmallRyeHealth |
getHealth() |
io.smallrye.health.SmallRyeHealth |
getLiveness() |
io.smallrye.health.SmallRyeHealth |
getReadiness() |
void |
removeHealthCheck(org.eclipse.microprofile.health.HealthCheck check) |
void |
removeLivenessCheck(org.eclipse.microprofile.health.HealthCheck check) |
void |
removeReadinessCheck(org.eclipse.microprofile.health.HealthCheck check) |
public static final String DOWN
public static final String UP
public io.smallrye.health.SmallRyeHealth getHealth()
public io.smallrye.health.SmallRyeHealth getLiveness()
public io.smallrye.health.SmallRyeHealth getReadiness()
public void addHealthCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader)
public void removeHealthCheck(org.eclipse.microprofile.health.HealthCheck check)
public void addReadinessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader)
public void addServerReadinessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader)
public void removeReadinessCheck(org.eclipse.microprofile.health.HealthCheck check)
public void addLivenessCheck(org.eclipse.microprofile.health.HealthCheck check,
ClassLoader moduleClassLoader)
public void removeLivenessCheck(org.eclipse.microprofile.health.HealthCheck check)
Copyright © 2020 JBoss by Red Hat. All rights reserved.