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