public static boolean next(Sleepersleeper, BackOff backOff) throws InterruptedException , IOException
If true, it will call Sleeper with the specified number of milliseconds from BackOff.
sleeper - sleeper
backOff - back-off policy
BackOff.nextBackOffMillis() did not return
BackOff.STOP
InterruptedException - if any thread has interrupted the current thread
IOException