public class Backoff extends Object
static long
DEFAULT_INTERVAL_IN_NANOSECONDS
MAX_BACKOFF_INTERVAL_NANOSECONDS
Backoff(long initial, TimeUnit unitInitial, long max, TimeUnit unitMax, long mandatoryStop, TimeUnit unitMandatoryStop)
long
next()
void
reduceToHalf()
reset()
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final long DEFAULT_INTERVAL_IN_NANOSECONDS
public static final long MAX_BACKOFF_INTERVAL_NANOSECONDS
public Backoff(long initial, TimeUnit unitInitial, long max, TimeUnit unitMax, long mandatoryStop, TimeUnit unitMandatoryStop)
public long next()
public void reduceToHalf()
public void reset()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.