public class BackoffBuilder extends Object
| Constructor and Description |
|---|
BackoffBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Backoff |
create() |
BackoffBuilder |
setInitialTime(long initial,
TimeUnit unitInitial) |
BackoffBuilder |
setMandatoryStop(long mandatoryStop,
TimeUnit unitMandatoryStop) |
BackoffBuilder |
setMax(long max,
TimeUnit unitMax) |
public BackoffBuilder setInitialTime(long initial, TimeUnit unitInitial)
public BackoffBuilder setMax(long max, TimeUnit unitMax)
public BackoffBuilder setMandatoryStop(long mandatoryStop, TimeUnit unitMandatoryStop)
public Backoff create()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.