public class BackoffSleeper extends Object
Constructor and Description |
---|
BackoffSleeper(long minWait,
long maxWait,
double backoffMultiplier) |
public BackoffSleeper(long minWait, long maxWait, double backoffMultiplier)
public void reset()
public void sleep() throws InterruptedException
InterruptedException
public void stopSleeping()
Copyright © 2014. All Rights Reserved.