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