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 Integer
checkIntervalSec()
How often (in seconds) to send a health check.static HttpHealthCheck
create(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 Date
creationTimestamp()
abstract String
description()
abstract Integer
healthyThreshold()
An unhealthy VM will be marked healthy after this many consecutive successes.abstract String
host()
The value of the host header in the HTTP health check request.abstract String
id()
abstract String
name()
abstract Integer
port()
The TCP port number for the HTTP health check request.abstract String
requestPath()
abstract URI
selfLink()
abstract Integer
timeoutSec()
How long (in seconds) to wait before claiming failure.abstract Integer
unhealthyThreshold()
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.
-
-