Clone
Marc Philipp
committed
on 01 Jun 18
Track artifact cache file access in PersistentIndexedCache
This commit introduces the `FileAccessJournal` interface and provides
two impleme… Show more
Track artifact cache file access in PersistentIndexedCache

This commit introduces the `FileAccessJournal` interface and provides

two implementations:

ModificationTimeFileAccessJournal::

  Reads and sets `File.lastModified()`.

IndexedCacheBackedFileAccessJournal::

  Uses a PersistentIndexedCache to store the access timestamp.

The latter is now used in DefaultCacheLockingManager for the artifact

cache. All other PersistentCaches still use the former.

Show less

master + 387 more