imglib / imglib2-cache

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

Clear WeakRefVolatileCache.map on invalidateAll #5

Closed hanslovsky closed 6 years ago

hanslovsky commented 6 years ago

Also, clear backing cache by call to backingCache.invalidateAll if invalidateBackingCache flag is set to true.

This follows our discussion on gitter (starting here) about whether or not the backing cache should be invalidated as well.

tpietzsch commented 6 years ago

As discussed in person recently, invalidate() should always propagate to the backingCache. That will be addressed in another PR