public void flush(){
synchronized (mDiskCacheLock) {
    if (mDiskLruCache != null) {
      try {
        mDiskLruCache.flush();
      }
 catch (      Throwable e) {
        LogUtils.e(e.getMessage(),e);
      }
    }
  }
}

public void flush ( ) { synchronized ( mDiskCacheLock ) { if ( mDiskLruCache != null ) { try { mDiskLruCache . flush ( ) ; } catch ( Throwable e ) { LogUtils . e ( e . getMessage ( ) , e ) ; } } } }
flushes the disk cache associated with this imagecache object . note that this includes disk access so this should not be executed on the main / ui thread .
