hollow/src/main/java/com/netflix/hollow/api/client/HollowAnnouncementWatcher.java
public void triggerAsyncRefreshWithDelay(int delayMillis) {
        final HollowClient client = this.client;
        final long targetBeginTime = System.currentTimeMillis() + delayMillis;

        refreshExecutor.execute(new Runnable() {
            public void run() {
                try {
                    long delay = targetBeginTime - System.currentTimeMillis();
                    if(delay > 0)
                        Thread.sleep(delay);
                    client.triggerRefresh();
                } catch(Throwable th) {
                    log.log(Level.SEVERE, "Async refresh failed", th);
                }
            }
        });
    }
public void triggerAsyncRefreshWithDelay(int delayMillis) {
        final HollowClient client = this.client;
        final long targetBeginTime = System.currentTimeMillis() + delayMillis;

        refreshExecutor.execute(new Runnable() {
            public void run() {
                try {
                    long delay = targetBeginTime - System.currentTimeMillis();
                    if(delay > 0)
                        Thread.sleep(delay);
                    client.triggerRefresh();
                } catch(Throwable th) {
                    log.log(Level.SEVERE, "Async refresh failed", th);
                }
            }
        });
    }
public void triggerAsyncRefreshWithDelay ( int delayMillis ) { final HollowClient client = this . client ; final long targetBeginTime = System . currentTimeMillis ( ) + delayMillis ; refreshExecutor . execute ( new Runnable ( ) { public void run ( ) { try { long delay = targetBeginTime - System . currentTimeMillis ( ) ; if ( delay > 0 ) Thread . sleep ( delay ) ; client . triggerRefresh ( ) ; } catch ( Throwable th ) { log . log ( Level . SEVERE , "Async refresh failed" , th ) ; } } } ) ; }
Triggers async refresh after the specified number of milliseconds has passed.

Any subsequent calls for async refresh will not begin until after the specified delay
has completed.

@param delayMillis the delay in milliseconds
Triggers async refresh after the specified number of milliseconds has passed .