public abstract static class HealthCheck.Builder<T extends HealthCheck.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
healthyThreshold |
protected int |
interval |
protected String |
target |
protected int |
timeout |
protected int |
unhealthyThreshold |
Constructor and Description |
---|
HealthCheck.Builder() |
Modifier and Type | Method and Description |
---|---|
HealthCheck |
build() |
T |
fromListener(HealthCheck in) |
T |
healthyThreshold(int healthyThreshold) |
T |
interval(int interval) |
protected abstract T |
self() |
T |
target(String target) |
T |
timeout(int timeout) |
T |
unhealthyThreshold(int unhealthyThreshold) |
protected int healthyThreshold
protected int interval
protected String target
protected int timeout
protected int unhealthyThreshold
protected abstract T self()
public T healthyThreshold(int healthyThreshold)
HealthCheck.getHealthyThreshold()
public T interval(int interval)
HealthCheck.getInterval()
public T target(String target)
HealthCheck.getTarget()
public T timeout(int timeout)
HealthCheck.getTimeout()
public T unhealthyThreshold(int unhealthyThreshold)
HealthCheck.getUnhealthyThreshold()
public HealthCheck build()
public T fromListener(HealthCheck in)
Copyright © 2009-2013 jclouds. All Rights Reserved.