Exemplo n.º 1
0
 /**
  * Deletes cache entries that are no longer valid according to the default expiration time period.
  */
 public synchronized void clean() {
   log.info("cache: cleaning");
   try {
     lock();
     deleteCacheEntries(createCleanFilter());
   } catch (IOException e) {
     log.error("Error cleaning cache", e);
   } finally {
     unlock();
   }
 }