CacheVersionMappingTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Handle multi-component cache versions

- Let `UnusedVersionsCacheCleanup` handle cache versions with multiple

components, e.g. metadata-2.58.

- Introduce `CacheVersion` to handle formatting and parsing in one

place.

    • -16
    • +19
    ./CacheVersionMappingTest.groovy
  1. … 12 more files in changeset.
Implement cleanup of shared versioned caches

`UnusedVersionsCacheCleanup` now extends `AbstractCacheCleanup` to reuse

its timeout checking and to make it usable as a `CleanupAction` for a

`PersistentCache`. `CompositeCleanupAction` now allows to use multiple

top-level `CleanupActions`.

    • -0
    • +122
    ./CacheVersionMappingTest.groovy
  1. … 9 more files in changeset.