public class HealthCheck extends Base
Constructor and Description |
---|
HealthCheck() |
Modifier and Type | Method and Description |
---|---|
Integer |
getCheckIntervalInSeconds() |
Integer |
getHealthyThreshold() |
String |
getPath() |
Integer |
getPort() |
Protocol |
getProtocol() |
Integer |
getResponseTimeoutInSeconds() |
Integer |
getUnhealthyThreshold() |
void |
setCheckIntervalInSeconds(Integer checkIntervalInSeconds) |
void |
setHealthyThreshold(Integer healthyThreshold) |
void |
setPath(String path) |
void |
setPort(Integer port) |
void |
setProtocol(Protocol protocol) |
void |
setResponseTimeoutInSeconds(Integer responseTimeoutInSeconds) |
void |
setUnhealthyThreshold(Integer unhealthyThreshold) |
String |
toString() |
getLinks, getMeta, setLinks, setMeta
getRateLimit, setRateLimit
public Protocol getProtocol()
public void setProtocol(Protocol protocol)
protocol
- the protocol to setpublic Integer getPort()
public void setPort(Integer port)
port
- the entry port to setpublic String getPath()
public void setPath(String path)
path
- the path to setpublic Integer getHealthyThreshold()
public void setHealthyThreshold(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 Integer getUnhealthyThreshold()
public void setUnhealthyThreshold(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 Integer getResponseTimeoutInSeconds()
public void setResponseTimeoutInSeconds(Integer responseTimeoutInSeconds)
responseTimeoutInSeconds
- the number of seconds the Load Balancer instance will wait for
a response until marking a health check as failed.public Integer getCheckIntervalInSeconds()
public void setCheckIntervalInSeconds(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.