@Override
 public void close() {
   try {
     myCache.clear();
     myMap.close();
   } catch (IOException e) {
     throw new RuntimeException(e);
   }
 }
Exemple #2
0
 public static void flushCache() {
   synchronized (myTimestampsCache) {
     myTimestampsCache.clear();
   }
 }
Exemple #3
0
 public void clearFileCache() {
   myFilesCache.clear();
 }