public class DownInstancePolicy extends Object
| Constructor and Description |
|---|
DownInstancePolicy()
Policy with default values
|
DownInstancePolicy(long timeout,
TimeUnit unit,
int errorThreshold) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorThreshold() |
long |
getTimeoutMs() |
public DownInstancePolicy()
public DownInstancePolicy(long timeout,
TimeUnit unit,
int errorThreshold)
timeout - window of time for down instancesunit - time uniterrorThreshold - number of errors within time window that denotes a down instanceCopyright © 2011–2016 The Apache Software Foundation. All rights reserved.