public interface HealthCheckMXBean extends ManagedObjectMXBean
resin:type=HealthCheck,name="Resin|MyHealth"
Modifier and Type | Method and Description |
---|---|
long |
getLogPeriodMs()
Returns log period in millis
|
java.lang.String |
getMessage()
Returns the last health check message.
|
java.lang.String |
getStatus()
Returns the last health check status.
|
int |
getStatusOrdinal()
Returns the last status value as an integer for graphing.
|
void |
setLogPeriodMs(long periodMs)
Sets intermittent periods of silence
|
void |
silenceForPeriodMs(long periodMs)
Prevents check result logging for a period of time
|
getName, getObjectName, getType
java.lang.String getStatus()
java.lang.String getMessage()
int getStatusOrdinal()
void silenceForPeriodMs(long periodMs)
void setLogPeriodMs(long periodMs)
long getLogPeriodMs()