Class AuthCache.Result
java.lang.Object
io.confluent.security.auth.metadata.AuthCache.Result
- Enclosing interface:
AuthCache
The result of a health check call.
-
Method Summary
Modifier and TypeMethodDescriptionAny message provided as part of the checkstatic AuthCache.Resulthealthy()static AuthCache.ResultbooleantoString()static AuthCache.Result
-
Method Details
-
isHealthy
public boolean isHealthy()- Returns:
trueif the store is healthy
-
getMessage
Any message provided as part of the check -
healthy
- Returns:
- a healthy result, with no message.
-
healthy
- Parameters:
message- a message to accompany the result- Returns:
- a healthy result, with the given message
-
unhealthy
- Parameters:
message- a message to accompany the result- Returns:
- an unhealthy result, with the given message
-
toString
-