public Retryer<R> randomWait(final long minimum, final long maximum) {
        checkArgument(minimum >= 0, "minimum must be >= 0 but is %d", minimum);
        checkArgument(maximum > minimum, "maximum must be > minimum but maximum is %d and minimum is", maximum, minimum);
        
        final Random random = new Random();
        return withWaitStrategy(new WaitStrategy() {
            @Override public long computeSleepTime(int previousAttemptNumber, long delaySinceFirstAttemptInMillis) {
                long t = Math.abs(random.nextLong()) % (maximum - minimum);
                return t + minimum;
            }
        });
    }
public Retryer < R > randomWait ( final long minimum , final long maximum ) { checkArgument ( minimum >= 0 , "minimum must be >= 0 but is %d" , minimum ) ; checkArgument ( maximum > minimum , "maximum must be > minimum but maximum is %d and minimum is" , maximum , minimum ) ; final Random random = new Random ( ) ; return withWaitStrategy ( new WaitStrategy ( ) { @ Override public long computeSleepTime ( int previousAttemptNumber , long delaySinceFirstAttemptInMillis ) { long t = Math . abs ( random . nextLong ( ) ) % ( maximum - minimum ) ; return t + minimum ; } } ) ; }
Sets the wait strategy that sleeps a random amount milliseconds before retrying

@param minimum
@param maximum
@return