public interface NodeHealthChecker
Modifier and Type | Field and 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 and 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 © 2020 JBoss by Red Hat. All rights reserved.