private void clearCache() { mCache.evictAll(); }
public void clearCache() { if (DEBUG) Log.d(TAG, "clearCache() called"); synchronized (lruCache) { lruCache.evictAll(); } }
public void clear() { if (DEBUG) Log.d(TAG, "clear() called"); synchronized (lruCache) { lruCache.evictAll(); } }
public void clearMemoryCache() { if (null != mConaco) { mConaco.getBeerBelly().clearMemory(); } if (null != mGalleryDetailCache) { mGalleryDetailCache.evictAll(); } }
@Override public void clear() { cache.evictAll(); } }
@Before public void setup() { mBuilder = new TextLayoutBuilder(); mBuilder.setText(TEST); // Clear the cache. TextLayoutBuilder.sCache.evictAll(); }
/** * Reset the cache, keeping the current settings. */ public void reset() { lruCache.evictAll(); } }
@Override protected Void doInBackground() { clearingCache = true; cache.evictAll(); clearingCache = false; return null; } }.execute();
/** * Clear the cache. * * @return */ public void clear() { mBitmapCache.evictAll(); }
public void evictAll() { if (bufferCache != null) { bufferCache.evictAll(); } }
/** * Clears both the memory and disk cache associated with this ImageCache * object. Note that this includes disk access so this should not be * executed on the main/UI thread. */ public void clearCache() { if (mMemoryCache != null) { mMemoryCache.evictAll(); // if (BuildConfig.DEBUG) { // Log.d(TAG, "Memory cache cleared"); // } } }
/** * Clear the internal cache. */ public static void clearBitmapsCache() { if (null != sBitmapByDownloadIdCache) { sBitmapByDownloadIdCache.evictAll(); } // Clear the list of unreachable Urls, to retry to download it on next access synchronized (sUnreachableUrls) { sUnreachableUrls.clear(); } }
/** * Clears both the memory and disk cache associated with this ImageCache * object. Note that this includes disk access so this should not be * executed on the main/UI thread. */ public void clearCache() { if (mMemoryCache != null) { mMemoryCache.evictAll(); if (BuildConfig.DEBUG) { Log.d(TAG, "Memory cache cleared"); } } }
public synchronized void clear() { Log.i(TAG, "============mMemCache.evictAll()"); mMemCache.evictAll(); }
/** * Clears both the memory and disk cache associated with this ImageCache * object. Note that this includes disk access so this should not be * executed on the main/UI thread. */ public void clearCache() { if (mMemoryCache != null) { mMemoryCache.evictAll(); if (BuildConfig.DEBUG) { Log.d(TAG, "Memory cache cleared"); } } }
@Override public void evictAll() { cache.evictAll(); timestampMap.clear(); expireTimeMap.clear(); } }
public static synchronized void clear() { sEntities.evictAll(); Log.v("Cache cleared."); }
public void clearCaches() { try { if (mDiskCache != null) { mDiskCache.delete(); } } catch (IOException e) { Log.e(TAG, "clearCaches() - " + e); } mMemoryCache.evictAll(); }
/** * 清空缓存 */ public void cleanCache() { if (mCache != null) { if (mCache.size() > 0) { LogUtil.d(TAG, "清空所有缓存数据"); mCache.evictAll(); } } }
public static synchronized void clear() { sEntities.evictAll(); Log.v("Cache cleared."); }