/** * Clear the principal cache. */ protected synchronized void clearCache() { cache.clear(); }
/** * Close the BTree, cleaning up all the data structure */ public void close() throws IOException { // Stop the readTransaction thread // readTransactionsThread.interrupt(); // readTransactions.clear(); // Clean the cache cache.clear(); }
/** * Clear the principal cache. */ protected synchronized void clearCache() { cache.clear(); }
/** * @see org.apache.commons.collections.map.AbstractLinkedMap#clear() */ public void clear() { this.hitCount = 0; this.missCount = 0; this.expirationCount = 0; super.clear(); }
public void clear () { lru.clear(); }
public void clear () { lru.clear(); }
static void clear() { patternsBySource.clear(); patternsByLocation.clear(); resultsCache.clear(); cacheLookupCount.set(0); cacheHitCount.set(0); }
/** * Clears the cache and calls the implementation to close their resources * @see PrincipalProvider#close() */ public synchronized void close() { checkInitialized(); cache.clear(); initialized = false; } }
/** * Clears the cache and calls the implementation to close their resources * @see PrincipalProvider#close() */ public synchronized void close() { checkInitialized(); cache.clear(); initialized = false; } }
public void clear() { rootVertexes.clear(); candidateJoinConditions.clear(); candidateJoinFilters.clear(); evaluatedJoinConditions.clear(); evaluatedJoinFilters.clear(); edgeCache.clear(); joinGraph.clear(); rootVertexes = null; candidateJoinConditions = null; candidateJoinFilters = null; evaluatedJoinConditions = null; evaluatedJoinFilters = null; edgeCache = null; joinGraph = null; } }
public void clear() { rootVertexes.clear(); candidateJoinConditions.clear(); candidateJoinFilters.clear(); evaluatedJoinConditions.clear(); evaluatedJoinFilters.clear(); edgeCache.clear(); joinGraph.clear(); rootVertexes = null; candidateJoinConditions = null; candidateJoinFilters = null; evaluatedJoinConditions = null; evaluatedJoinFilters = null; edgeCache = null; joinGraph = null; } }
@Override public void transformerChange(Transformer transformer, RegistryAction registryAction) { readWriteLock.writeLock().lock(); try { if (!(transformer instanceof Converter)) { return; } cache.clear(); if (registryAction == RegistryAction.ADDED) { graph.addConverter((Converter) transformer); } else if (registryAction == RegistryAction.REMOVED) { graph.removeConverter((Converter) transformer); } } finally { readWriteLock.writeLock().unlock(); } } }
@Override public void transformerChange(Transformer transformer, RegistryAction registryAction) { readWriteLock.writeLock().lock(); try { if (!(transformer instanceof Converter)) { return; } cache.clear(); if (registryAction == RegistryAction.ADDED) { graph.addConverter((Converter) transformer); } else if (registryAction == RegistryAction.REMOVED) { graph.removeConverter((Converter) transformer); } } finally { readWriteLock.writeLock().unlock(); } } }