public class HealthCheck extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HealthCheck.Builder<T extends HealthCheck.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected int |
healthyThreshold |
protected int |
interval |
protected String |
target |
protected int |
timeout |
protected int |
unhealthyThreshold |
Modifier | Constructor and Description |
---|---|
protected |
HealthCheck(int healthyThreshold,
int interval,
String target,
int timeout,
int unhealthyThreshold) |
Modifier and Type | Method and Description |
---|---|
static HealthCheck.Builder<?> |
builder() |
boolean |
equals(Object obj) |
int |
getHealthyThreshold()
Specifies the number of consecutive health probe successes required before moving the instance
to the Healthy state.
|
int |
getInterval()
Specifies the approximate interval, in seconds, between health checks of an individual
instance.
|
String |
getTarget()
Specifies the instance being checked.
|
int |
getTimeout()
Specifies the amount of time, in seconds, during which no response means a failed health
probe.
|
int |
getUnhealthyThreshold()
Specifies the number of consecutive health probe failures required before moving the instance
to the Unhealthy state.
|
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
HealthCheck.Builder<?> |
toBuilder() |
String |
toString() |
protected final int healthyThreshold
protected final int interval
protected final String target
protected final int timeout
protected final int unhealthyThreshold
protected HealthCheck(int healthyThreshold, int interval, String target, int timeout, int unhealthyThreshold)
public static HealthCheck.Builder<?> builder()
public HealthCheck.Builder<?> toBuilder()
public int getHealthyThreshold()
public int getInterval()
public String getTarget()
public int getTimeout()
public int getUnhealthyThreshold()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.