@Beta public final class BackOffUtils extends java.lang.Object
public static boolean next(Sleeper sleeper, BackOff backOff) throws java.lang.InterruptedException, java.io.IOException
If true, it will call Sleeper.sleep(long) with the specified number of
milliseconds from BackOff.nextBackOffMillis().
sleeper - sleeperbackOff - back-off policyBackOff.nextBackOffMillis() did not return BackOff.STOPjava.lang.InterruptedException - if any thread has interrupted the current threadjava.io.IOExceptionCopyright © 2011-2018 Google. All Rights Reserved.