@ Scheduled ( fixedRate = 60000 ) public void logStatistics ( ) { // TODO: do we want to log diff with last log instead? if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( "Cache stats:" ) ; for ( Map . Entry < String , LoadingCache < Query < Entity > , List < Object > > > cacheEntry : caches . entrySet ( ) ) { LOG . debug ( "{}:{}" , cacheEntry . getKey ( ) , cacheEntry . getValue ( ) . stats ( ) ) ; } } }
Logs cumulative cache statistics for all known caches .