public class MicroProfileHealthReporter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DOWN |
static java.lang.String |
UP |
Constructor and Description |
---|
MicroProfileHealthReporter() |
MicroProfileHealthReporter(java.lang.String emptyLivenessChecksStatus,
java.lang.String emptyReadinessChecksStatus,
java.lang.String emptyStartupChecksStatus,
boolean defaultServerProceduresDisabled,
java.lang.String defaultReadinessEmptyResponse,
java.lang.String defaultStartupEmptyResponse) |
Modifier and Type | Method and Description |
---|---|
void |
addHealthCheck(HealthCheck check,
java.lang.ClassLoader moduleClassLoader) |
void |
addLivenessCheck(HealthCheck check,
java.lang.ClassLoader moduleClassLoader) |
void |
addReadinessCheck(HealthCheck check,
java.lang.ClassLoader moduleClassLoader) |
void |
addServerReadinessCheck(HealthCheck check,
java.lang.ClassLoader moduleClassLoader) |
void |
addStartupCheck(HealthCheck check,
java.lang.ClassLoader moduleClassLoader) |
SmallRyeHealth |
getHealth() |
SmallRyeHealth |
getLiveness() |
SmallRyeHealth |
getReadiness() |
SmallRyeHealth |
getStartup() |
void |
removeHealthCheck(HealthCheck check) |
void |
removeLivenessCheck(HealthCheck check) |
void |
removeReadinessCheck(HealthCheck check) |
void |
removeStartupCheck(HealthCheck check) |
void |
setUserChecksProcessed(boolean userChecksProcessed) |
public static final java.lang.String DOWN
public static final java.lang.String UP
public MicroProfileHealthReporter()
public MicroProfileHealthReporter(java.lang.String emptyLivenessChecksStatus, java.lang.String emptyReadinessChecksStatus, java.lang.String emptyStartupChecksStatus, boolean defaultServerProceduresDisabled, java.lang.String defaultReadinessEmptyResponse, java.lang.String defaultStartupEmptyResponse)
public SmallRyeHealth getHealth()
public SmallRyeHealth getLiveness()
public SmallRyeHealth getReadiness()
public SmallRyeHealth getStartup()
public void addHealthCheck(HealthCheck check, java.lang.ClassLoader moduleClassLoader)
public void removeHealthCheck(HealthCheck check)
public void addReadinessCheck(HealthCheck check, java.lang.ClassLoader moduleClassLoader)
public void addServerReadinessCheck(HealthCheck check, java.lang.ClassLoader moduleClassLoader)
public void removeReadinessCheck(HealthCheck check)
public void addLivenessCheck(HealthCheck check, java.lang.ClassLoader moduleClassLoader)
public void removeLivenessCheck(HealthCheck check)
public void addStartupCheck(HealthCheck check, java.lang.ClassLoader moduleClassLoader)
public void removeStartupCheck(HealthCheck check)
public void setUserChecksProcessed(boolean userChecksProcessed)