private int computeConstrainedBackoffCoefficient(int numFailedAttempts){
  int n=Math.min(MAX_EXPONENT,numFailedAttempts);
  int twoToThePowerOfN=1 << n;
  return sRandom.nextInt(twoToThePowerOfN) + 1;
}

private int computeConstrainedBackoffCoefficient ( int numFailedAttempts ) { int n = Math . min ( MAX_EXPONENT , numFailedAttempts ) ; int twoToThePowerOfN = 1 << n ; return sRandom . nextInt ( twoToThePowerOfN ) + 1 ; }
calculates a random coefficient based on the number of cumulative failed attempts .
