Interface NodeHealthChecker
public interface NodeHealthChecker
- Author:
- Emanuel Muckenhuber
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NodeHealthChecker
Receiving a response is a success.static final NodeHealthChecker
Check that the response code is 2xx to 3xx. -
Method Summary
Modifier and TypeMethodDescriptionboolean
checkResponse
(ClientResponse response) Check the response of a health check.
-
Field Details
-
NO_CHECK
Receiving a response is a success. -
OK
Check that the response code is 2xx to 3xx.
-
-
Method Details
-
checkResponse
Check the response of a health check.- Parameters:
response
- the client response- Returns:
- true if the response from the node is healthy
-