imglib / imglib2-cache

Cache interfaces and java.lang.ref based implementation.
Other
6 stars 4 forks source link

Invalidation #8

Closed tpietzsch closed 5 years ago

tpietzsch commented 5 years ago

Adds invalidate(K key), invalidateIf(Predicate<K> condition), and invalidateAll() methods.

"Invalidate" means: Remove from the cache, and discard any changes that have been made in this cache or any backing cache. In particular, if changes have been persisted to disk, remove those as well.