private void sleepPastRefreshInterval() throws Exception {
  logger.debug("Sleeping for " + REFRESH_INTERVAL_SECS + " second(s).");
  Thread.sleep(REFRESH_INTERVAL_SECS * 1000);
}

private void sleepPastRefreshInterval ( ) throws Exception { logger . debug ( "Sleeping for " + REFRESH_INTERVAL_SECS + " second(s)." ) ; Thread . sleep ( REFRESH_INTERVAL_SECS * 1000 ) ; }
sleeps for a duration that is equal to the refresh interval which will ensure the refresh interval has passed .
