Class HttpHealthCheck
- java.lang.Object
-
- org.jclouds.googlecomputeengine.domain.HttpHealthCheck
-
public abstract class HttpHealthCheck extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract IntegercheckIntervalSec()How often (in seconds) to send a health check.static HttpHealthCheckcreate(String id, URI selfLink, Date creationTimestamp, String name, String description, String host, String requestPath, Integer port, Integer checkIntervalSec, Integer timeoutSec, Integer unhealthyThreshold, Integer healthyThreshold)abstract DatecreationTimestamp()abstract Stringdescription()abstract IntegerhealthyThreshold()An unhealthy VM will be marked healthy after this many consecutive successes.abstract Stringhost()The value of the host header in the HTTP health check request.abstract Stringid()abstract Stringname()abstract Integerport()The TCP port number for the HTTP health check request.abstract StringrequestPath()abstract URIselfLink()abstract IntegertimeoutSec()How long (in seconds) to wait before claiming failure.abstract IntegerunhealthyThreshold()A so-far healthy VM will be marked unhealthy after this many consecutive failures.
-
-
-
Method Detail
-
id
public abstract String id()
-
selfLink
public abstract URI selfLink()
-
creationTimestamp
public abstract Date creationTimestamp()
-
name
public abstract String name()
-
host
@Nullable public abstract String host()
The value of the host header in the HTTP health check request. If left empty (default value), the public IP on behalf of which this health check is performed will be used.
-
port
@Nullable public abstract Integer port()
The TCP port number for the HTTP health check request.
-
checkIntervalSec
@Nullable public abstract Integer checkIntervalSec()
How often (in seconds) to send a health check.
-
timeoutSec
@Nullable public abstract Integer timeoutSec()
How long (in seconds) to wait before claiming failure.
-
unhealthyThreshold
@Nullable public abstract Integer unhealthyThreshold()
A so-far healthy VM will be marked unhealthy after this many consecutive failures.
-
healthyThreshold
@Nullable public abstract Integer healthyThreshold()
An unhealthy VM will be marked healthy after this many consecutive successes.
-
-