public static AdvancedCache failSilentWriteCache ( AdvancedCache cache ) { return cache . withFlags ( Flag . FAIL_SILENTLY , Flag . ZERO_LOCK_ACQUISITION_TIMEOUT , Flag . SKIP_CACHE_LOAD , Flag . SKIP_REMOTE_LOOKUP ) ; }
Transform a given cache into a cache that fails silently if cache writes fail .