public abstract class HttpHealthCheck extends Object
Modifier and Type | Method and 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.
|
public abstract String id()
public abstract URI selfLink()
public abstract Date creationTimestamp()
public abstract String name()
@Nullable public abstract String host()
@Nullable public abstract Integer port()
@Nullable public abstract Integer checkIntervalSec()
@Nullable public abstract Integer timeoutSec()
@Nullable public abstract Integer unhealthyThreshold()
@Nullable public abstract Integer healthyThreshold()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.