Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Any message provided as part of the check
|
static AuthCache.Result |
healthy() |
static AuthCache.Result |
healthy(String message) |
boolean |
isHealthy() |
String |
toString() |
static AuthCache.Result |
unhealthy(String message) |
public boolean isHealthy()
true
if the store is healthypublic String getMessage()
public static AuthCache.Result healthy()
public static AuthCache.Result healthy(String message)
message
- a message to accompany the resultpublic static AuthCache.Result unhealthy(String message)
message
- a message to accompany the result