/** * Clears all entries and all keys from offline projects in the cache.<p> * * Cached resources from the online project are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOffline() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_KEYS_AND_ENTRIES_0)); } clearAccordingToSuffix(CACHE_OFFLINESUFFIX, false); }
/** * Clears all entries from offline projects in the cache.<p> * * The keys from the offline projects are not cleared. * Cached resources from the online project are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOfflineEntries() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_OFFLINE_ENTRIES_0)); } clearAccordingToSuffix(CACHE_OFFLINESUFFIX, true); }
/** * Clears all entries from the online project in the cache.<p> * * The keys from the online project are not cleared. * Cached resources from the offline projects are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOnlineEntries() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_ONLINE_ENTRIES_0)); } clearAccordingToSuffix(CACHE_ONLINESUFFIX, true); }
/** * Clears all entries from offline projects in the cache.<p> * * The keys from the offline projects are not cleared. * Cached resources from the online project are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOfflineEntries() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_OFFLINE_ENTRIES_0)); } clearAccordingToSuffix(CACHE_OFFLINESUFFIX, true); }
/** * Clears all entries and all keys from the online project in the cache.<p> * * Cached resources from the offline projects are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOnline() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_ONLINE_KEYS_AND_ENTRIES_0)); } clearAccordingToSuffix(CACHE_ONLINESUFFIX, false); }
/** * Clears all entries and all keys from offline projects in the cache.<p> * * Cached resources from the online project are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOffline() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_KEYS_AND_ENTRIES_0)); } clearAccordingToSuffix(CACHE_OFFLINESUFFIX, false); }
/** * Clears all entries and all keys from the online project in the cache.<p> * * Cached resources from the offline projects are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOnline() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_ONLINE_KEYS_AND_ENTRIES_0)); } clearAccordingToSuffix(CACHE_ONLINESUFFIX, false); }
/** * Clears all entries from the online project in the cache.<p> * * The keys from the online project are not cleared. * Cached resources from the offline projects are not touched.<p> * * Only users with administrator permissions are allowed * to perform this operation.<p> */ private void clearOnlineEntries() { if (!isEnabled()) { return; } if (LOG.isInfoEnabled()) { LOG.info(Messages.get().getBundle().key(Messages.LOG_FLEXCACHE_CLEAR_ONLINE_ENTRIES_0)); } clearAccordingToSuffix(CACHE_ONLINESUFFIX, true); }