private void reloadKeysIfNeeded(){
  long now=System.currentTimeMillis();
  if (!_initialized || ((now - _lastUpdated.get()) / (1000 * 60 * 60) > _maxKeyStaleTimeInHrs)) {
    try {
      _log.info("Stale time reached, reloading keys");
      loadKeys();
      _log.info("Reloaded keys successfully");
    }
 catch (    Exception e) {
      _log.error("Could not reload the keys",e);
    }
  }
 else {
    _log.debug("Reload not needed");
  }
  return;
}

private void reloadKeysIfNeeded ( ) { long now = System . currentTimeMillis ( ) ; if ( ! _initialized || ( ( now - _lastUpdated . get ( ) ) / ( 1000 * 60 * 60 ) > _maxKeyStaleTimeInHrs ) ) { try { _log . info ( "Stale time reached, reloading keys" ) ; loadKeys ( ) ; _log . info ( "Reloaded keys successfully" ) ; } catch ( Exception e ) { _log . error ( "Could not reload the keys" , e ) ; } } else { _log . debug ( "Reload not needed" ) ; } return ; }
reloads keys from coordinator if it ' s been maxkeystaletimeinhrs
