Tabnine Logo
DiskLruCache.close
Code IndexAdd Tabnine to your IDE (free)

How to use
close
method
in
com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache

Best Java code snippets using com.nostra13.universalimageloader.cache.disc.impl.ext.DiskLruCache.close (Showing top 8 results out of 315)

origin: nostra13/Android-Universal-Image-Loader

/**
 * Closes the cache and deletes all of its stored values. This will delete
 * all files in the cache directory including files that weren't created by
 * the cache.
 */
public void delete() throws IOException {
  close();
  Util.deleteContents(directory);
}
origin: nostra13/Android-Universal-Image-Loader

@Override
public void close() {
  try {
    cache.close();
  } catch (IOException e) {
    L.e(e);
  }
  cache = null;
}
origin: com.nostra13.universalimageloader/universal-image-loader

@Override
public void close() {
  try {
    cache.close();
  } catch (IOException e) {
    L.e(e);
  }
  cache = null;
}
origin: jiangqqlmj/Android-Universal-Image-Loader-Modify

/**
 * 进行关闭缓存
 */
@Override
public void close() {
  try {
    cache.close();
  } catch (IOException e) {
    L.e(e);
  }
  cache = null;
}
origin: com.nostra13.universalimageloader/universal-image-loader

/**
 * Closes the cache and deletes all of its stored values. This will delete
 * all files in the cache directory including files that weren't created by
 * the cache.
 */
public void delete() throws IOException {
  close();
  Util.deleteContents(directory);
}
origin: wanliyang1990/WliveTV

@Override
public void close() {
  try {
    cache.close();
  } catch (IOException e) {
    L.e(e);
  }
  cache = null;
}
origin: wanliyang1990/WliveTV

/**
 * Closes the cache and deletes all of its stored values. This will delete
 * all files in the cache directory including files that weren't created by
 * the cache.
 */
public void delete() throws IOException {
  close();
  Util.deleteContents(directory);
}
origin: jiangqqlmj/Android-Universal-Image-Loader-Modify

/**
 * Closes the cache and deletes all of its stored values. This will delete
 * all files in the cache directory including files that weren't created by
 * the cache.
 */
public void delete() throws IOException {
  close();
  Util.deleteContents(directory);
}
com.nostra13.universalimageloader.cache.disc.impl.extDiskLruCacheclose

Javadoc

Closes this cache. Stored values will remain on the filesystem.

Popular methods of DiskLruCache

  • <init>
  • checkNotClosed
  • delete
    Closes the cache and deletes all of its stored values. This will delete all files in the cache direc
  • deleteIfExists
  • edit
  • get
    Returns a snapshot of the entry named key, or null if it doesn't exist is not currently readable. If
  • getDirectory
    Returns the directory where this cache stores its data.
  • getMaxFileCount
    Returns the maximum number of files that this cache should store
  • getMaxSize
    Returns the maximum number of bytes that this cache should use to store its data.
  • journalRebuildRequired
    We only rebuild the journal when it will halve the size of the journal and eliminate at least 2000 o
  • open
    Opens the cache in directory, creating a cache if none exists there.
  • processJournal
    Computes the initial size and collects garbage as a part of opening the cache. Dirty entries are ass
  • open,
  • processJournal,
  • readJournal,
  • readJournalLine,
  • rebuildJournal,
  • remove,
  • renameTo,
  • trimToFileCount,
  • trimToSize

Popular in Java

  • Reactive rest calls using spring rest template
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
  • startActivity (Activity)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • String (java.lang)
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now