public interface NodeHealthChecker
| Modifier and Type | Field | Description |
|---|---|---|
static NodeHealthChecker |
NO_CHECK |
Receiving a response is a success.
|
static NodeHealthChecker |
OK |
Check that the response code is 2xx to 3xx.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
checkResponse(ClientResponse response) |
Check the response of a health check.
|
static final NodeHealthChecker NO_CHECK
static final NodeHealthChecker OK
boolean checkResponse(ClientResponse response)
response - the client responseCopyright © 2018. All rights reserved.