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