public class HealthCheck extends Base
| Constructor and Description | 
|---|
| HealthCheck() | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Integer | getCheckIntervalInSeconds() | 
| java.lang.Integer | getHealthyThreshold() | 
| java.lang.String | getPath() | 
| java.lang.Integer | getPort() | 
| Protocol | getProtocol() | 
| java.lang.Integer | getResponseTimeoutInSeconds() | 
| java.lang.Integer | getUnhealthyThreshold() | 
| void | setCheckIntervalInSeconds(java.lang.Integer checkIntervalInSeconds) | 
| void | setHealthyThreshold(java.lang.Integer healthyThreshold) | 
| void | setPath(java.lang.String path) | 
| void | setPort(java.lang.Integer port) | 
| void | setProtocol(Protocol protocol) | 
| void | setResponseTimeoutInSeconds(java.lang.Integer responseTimeoutInSeconds) | 
| void | setUnhealthyThreshold(java.lang.Integer unhealthyThreshold) | 
| java.lang.String | toString() | 
getLinks, getMeta, setLinks, setMetagetRateLimit, setRateLimitpublic Protocol getProtocol()
public void setProtocol(Protocol protocol)
protocol - the protocol to setpublic java.lang.Integer getPort()
public void setPort(java.lang.Integer port)
port - the entry port to setpublic java.lang.String getPath()
public void setPath(java.lang.String path)
path - the path to setpublic java.lang.Integer getHealthyThreshold()
public void setHealthyThreshold(java.lang.Integer healthyThreshold)
healthyThreshold - the number of times a health check must pass for a backend Droplet to
        be marked "healthy" and be re-added to the poolpublic java.lang.Integer getUnhealthyThreshold()
public void setUnhealthyThreshold(java.lang.Integer unhealthyThreshold)
unhealthyThreshold - the number of times a health check must fail for a backend Droplet to
        be marked "unhealthy" and be removed from the pool.public java.lang.Integer getResponseTimeoutInSeconds()
public void setResponseTimeoutInSeconds(java.lang.Integer responseTimeoutInSeconds)
responseTimeoutInSeconds - the number of seconds the Load Balancer instance will wait for
        a response until marking a health check as failed.public java.lang.Integer getCheckIntervalInSeconds()
public void setCheckIntervalInSeconds(java.lang.Integer checkIntervalInSeconds)
checkIntervalInSeconds - the number of seconds between two consecutive health checks to
        set
Copyright ©  myjeeva blog, All rights reserved. 
The copyright of the pages and contents on this website is with myjeeva.com and the content is licensed under Creative Commons – Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). Libraries and code snippets on myjeeva blog has license information.