public void triggerAsyncRefreshWithRandomDelay ( int maxDelayMillis ) { Random rand = new Random ( ) ; int delayMillis = maxDelayMillis > 0 ? rand . nextInt ( maxDelayMillis ) : 0 ; triggerAsyncRefreshWithDelay ( delayMillis ) ; }
Triggers async refresh after some random number of milliseconds have passed between now and the specified maximum number of milliseconds .