* Invalidates all the caches, after printing statistics about their hitrate.
*/
private void clearCaches() {
if (null != caches) {
for (int i = 0; i < caches.size(); i++) {
Cache cache = caches.get(i);
logger.info("Cache " + i + ": hit ratio since last clear is " + cache.getRecentHitRatio() + ", historic is " + cache.getHitRatio());
cache.clear();
}
}
}