/** * {@inheritDoc} * * @see com.xpn.xwiki.user.api.XWikiGroupService#flushCache() */ public void flushCache() { if (this.memberGroupsCache != null) { this.memberGroupsCache.removeAll(); } }
protected void onCacheCleanup(Event event, Object source, Object data) { // TODO: do finer grain cache invalidation this.cache.removeAll(); }
@Override public void clear() { cache.removeAll(); }
@Override public int reindex(String ontologyUrl) { // Remote vocabulary, we cannot reindex, but we can clear the local cache this.cache.removeAll(); return 0; }
public void flushAll() { this.cache.removeAll(); }
@Override public void clear() { cache.removeAll(); cachedFilesKeysMap.clear(); }
@Override public void clear() { cache.removeAll(); cachedFilesKeysMapPerSkin.clear(); cachedFilesKeysMapPerColorTheme.clear(); cachedFilesKeysMapPerLESSResource.clear(); }
/** * Delete all the data in the Solr index. * * @return {@code 0} if the command was successful, {@code 1} otherwise */ public int clear() { try { this.server.deleteByQuery("*:*"); this.server.commit(); this.cache.removeAll(); return 0; } catch (SolrServerException ex) { this.logger.error("SolrServerException while clearing the Solr index", ex); } catch (IOException ex) { this.logger.error("IOException while clearing the Solr index", ex); } return 1; }
this.server.add(allTerms); this.server.commit(); this.cache.removeAll(); return 0; } catch (SolrServerException ex) {
protected void commitTerms(Collection<SolrInputDocument> batch) throws SolrServerException, IOException, OutOfMemoryError { this.externalServicesAccess.getServer().add(batch); this.externalServicesAccess.getServer().commit(); this.externalServicesAccess.getCache().removeAll(); }
this.externalServicesAccess.getTermCache(this).removeAll();