public class BreakerConfigBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
long |
backOffTimeMillis |
int |
failurePercentageThreshold |
long |
failureThreshold |
long |
healthRefreshMillis |
long |
trailingPeriodMillis |
| Constructor and Description |
|---|
BreakerConfigBuilder() |
| Modifier and Type | Method and Description |
|---|---|
BreakerConfigBuilder |
backOffTimeMillis(long backOffTimeMillis) |
BreakerConfig |
build() |
BreakerConfigBuilder |
failurePercentageThreshold(int failurePercentageThreshold) |
BreakerConfigBuilder |
failureThreshold(long failureThreshold) |
BreakerConfigBuilder |
healthRefreshMillis(long healthRefreshMillis) |
BreakerConfigBuilder |
trailingPeriodMillis(long trailingPeriodMillis) |
public long trailingPeriodMillis
public long failureThreshold
public int failurePercentageThreshold
public long healthRefreshMillis
public long backOffTimeMillis
public BreakerConfigBuilder trailingPeriodMillis(long trailingPeriodMillis)
public BreakerConfigBuilder failureThreshold(long failureThreshold)
public BreakerConfigBuilder failurePercentageThreshold(int failurePercentageThreshold)
public BreakerConfigBuilder backOffTimeMillis(long backOffTimeMillis)
public BreakerConfigBuilder healthRefreshMillis(long healthRefreshMillis)
public BreakerConfig build()
Copyright © 2014 Tim Brooks. All Rights Reserved.