public double availability(){
  if (!honorLease) {
    return connection.availability();
  }
  final long now=System.currentTimeMillis();
  double available=0.0;
  if (numberOfRemainingRequests > 0 && (now < ttlExpiration)) {
    available=1.0;
  }
  return available * connection.availability();
}

public double availability ( ) { if ( ! honorLease ) { return connection . availability ( ) ; } final long now = System . currentTimeMillis ( ) ; double available = 0.0 ; if ( numberOfRemainingRequests > 0 && ( now < ttlExpiration ) ) { available = 1.0 ; } return available * connection . availability ( ) ; }
return availability of sending requests
