synchronized boolean setLastRecoveryTime ( long now ) { boolean expired = now - lastRecoveryTime > NameNode . LEASE_RECOVER_PERIOD ; if ( expired ) { lastRecoveryTime = now ; } return expired ; }
Update lastRecoveryTime if expired .