private void logExpiration(Entry e){
  if (e.renewalsDone()) {
    logger.log(Level.FINE,"Reached desired expiration for lease {0}",e.lease);
  }
 else {
    logger.log(Levels.FAILED,"Lease {0} expired before reaching desired expiration",e.lease);
  }
}

private void logExpiration ( Entry e ) { if ( e . renewalsDone ( ) ) { logger . log ( Level . FINE , "Reached desired expiration for lease {0}" , e . lease ) ; } else { logger . log ( Levels . FAILED , "Lease {0} expired before reaching desired expiration" , e . lease ) ; } }
logs a lease expiration , distinguishing between expected and premature expirations .
