|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jclouds.elb.domain.HealthCheck
public class HealthCheck
Elastic Load Balancing routinely checks the health of each load-balanced Amazon EC2 instance based on the configurations that you specify. If Elastic Load Balancing finds an unhealthy instance, it stops sending traffic to the instance and reroutes traffic to healthy instances.
| Nested Class Summary | |
|---|---|
static class |
HealthCheck.Builder<T extends HealthCheck.Builder<T>>
|
| Field Summary | |
|---|---|
protected int |
healthyThreshold
|
protected int |
interval
|
protected String |
target
|
protected int |
timeout
|
protected int |
unhealthyThreshold
|
| Constructor Summary | |
|---|---|
protected |
HealthCheck(int healthyThreshold,
int interval,
String target,
int timeout,
int unhealthyThreshold)
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final int healthyThreshold
protected final int interval
protected final String target
protected final int timeout
protected final int unhealthyThreshold
| Constructor Detail |
|---|
protected HealthCheck(int healthyThreshold,
int interval,
String target,
int timeout,
int unhealthyThreshold)
| Method Detail |
|---|
public static HealthCheck.Builder<?> builder()
public HealthCheck.Builder<?> toBuilder()
public int getHealthyThreshold()
public int getInterval()
public String getTarget()
public int getTimeout()
public int getUnhealthyThreshold()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectprotected com.google.common.base.Objects.ToStringHelper string()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||