protected void changedCacheData ( String cache , final Streamable data ) { // see if we have any observers ObserverList < StaleCacheObserver > list = _cacheobs . get ( cache ) ; if ( list == null ) { return ; } // if so, notify them list . apply ( new ObserverList . ObserverOp < StaleCacheObserver > ( ) { public boolean apply ( StaleCacheObserver observer ) { observer . changedCacheData ( data ) ; return true ; } } ) ; }
Called when possibly cached data has changed on one of our peer servers .