private void clearCaches() { final List<CacheManager> allCacheManagers = CacheManager.ALL_CACHE_MANAGERS; for (final CacheManager cacheManager : allCacheManagers) { cacheManager.clearAll(); } }
protected void cleanAllDataCache() { if (cacheManager != null) { logger.warn("cleaning all storage cache"); cacheManager.clearAll(); } else { logger.warn("skip cleaning all storage cache"); } }
/** * Clear all. */ public void clearAll() { manager.clearAll(); }
/** * Clears the contents of all caches in the CacheManager, but without * removing any caches. * <p> * This method is not synchronized. It only guarantees to clear those elements in a cache * at the time that the {@link net.sf.ehcache.Ehcache#removeAll()} mehod on each cache is called. */ public void clearAll() { cacheManager.clearAll(); }
/** * {@inheritDoc} */ public void clearAll() { cacheManager.clearAll(); }
public void stop() { Cache cache = manager.getCache(ehcacheConf.getPredefinedCacheName()); cache.removeAll(); manager.removeCache(ehcacheConf.getPredefinedCacheName()); manager.removalAll(); manager.clearAll(); manager.shutdown(); manager = null; }
/** * {@inheritDoc} */ public void clearAll() { cacheManager.clearAll(); }
private void clearCaches() { final List<CacheManager> allCacheManagers = CacheManager.ALL_CACHE_MANAGERS; for (final CacheManager cacheManager : allCacheManagers) { cacheManager.clearAll(); } }
/** * {@inheritDoc} */ public void clearAll() { cacheManager.clearAll(); }
/** * Used to clear all elements from all cache objects. * */ public void clearAll() { mEhCacheImpl.clearAll(); } }
/** * Clears the contents of all caches in the CacheManager, but without * removing any caches. * <p> * This method is not synchronized. It only guarantees to clear those elements in a cache * at the time that the {@link net.sf.ehcache.Ehcache#removeAll()} mehod on each cache is called. */ public void clearAll() { cacheManager.clearAll(); }
/** * {@inheritDoc} */ @Override public void clearAll() throws Exception { scopeManager.clearAll(); }
/** * Clear all caches managed by this cache manager. */ @Override public void clear() { cacheManager.clearAll(); }
/** * Clears the contents of all caches in the CacheManager, but without * removing any caches. * <p/> * This method is not synchronized. It only guarantees to clear those elements in a cache * at the time that the {@link net.sf.ehcache.Ehcache#removeAll()} mehod on each cache is called. */ public void clearAll() { cacheManager.clearAll(); }
/** * {@inheritDoc} */ public void clearAll() { cacheManager.clearAll(); }
/** * Clears the contents of all caches in the CacheManager, but without * removing any caches. * <p/> * This method is not synchronized. It only guarantees to clear those elements in a cache * at the time that the {@link net.sf.ehcache.Ehcache#removeAll()} mehod on each cache is called. */ public void clearAll() { cacheManager.clearAll(); }
/** * Clear all caches managed by this cache manager. */ @Override public void clear() { cacheManager.clearAll(); }
public void clearAll() { if (log.isInfoEnabled()) { log.info("Clearing (eh)Cache context"); } cacheManager.clearAll(); }
public void clearCaches() { if (log.isDebugEnabled()) { log.debug("!!!!!!!!!!!!! CLEARING ALL CACHES !!!!!!!!!!!!!!!!!"); } cacheManager.clearAll(); }
@Override public void resetCachers() { if (!getSecurityService().isSuperUser()) { throw new SecurityException("Only super admin can reset cachers, current user not super admin"); } if (this.cacheManager != null) { this.cacheManager.clearAll(); } }