public void invalidateByTemplate ( String template , boolean waitOnInvalidation , DCache cache ) { synchronized ( this ) { BatchUpdateList bul = getUpdateList ( cache ) ; bul . invalidateByTemplateEvents . put ( template , new InvalidateByTemplateEvent ( template , CachePerf . LOCAL ) ) ; } if ( waitOnInvalidation ) { wakeUp ( 0 , 0 ) ; } }
This invalidates all cache entries in all caches whose template is specified .