private void lazyRefresh ( ) { Runnable pr = new Runnable ( ) { @ Override public void run ( ) { if ( pendingRefresh . compareAndSet ( this , null ) ) { refresh ( ) ; } } } ; pendingRefresh . set ( pr ) ; scheduleUpdate ( pr ) ; }
Trigger a refresh .