private final long logarithmicDistribution(long mean,long max){
  final double x=localRandom.nextDouble();
  if (x == 0d) {
    return max;
  }
  return Math.min((long)(mean * -Math.log(x)),max);
}

private final long logarithmicDistribution ( long mean , long max ) { final double x = localRandom . nextDouble ( ) ; if ( x == 0d ) { return max ; } return Math . min ( ( long ) ( mean * - Math . log ( x ) ) , max ) ; }
use a logarithmic distibution to randomise the delay between successive pacing iterations .
