Update CollectionCountContext when a Collection is updated
There are various situations where items might be removed/added/modified and the CollectionCountContext does not get properly updated. We should ensure that modifications to a collection will update the respective context:
- fileCountMap
- fileActiveMap
- fileCorruptMap
- fileMissingMap
- fileMissingTokenMap
- fileTokenMismatchMap
- totalErrorMap
- totalSizeMap
- fileRemoteMissing
- fileRemoteCorrupt
Also when working on this issue, now might be a good time to check out a different way of caching these (using caffeine or guava).