long startGather = System.currentTimeMillis();
+ // FIXME what about other implementations ?
+
if ( metadataRepository.canObtainAccess( Session.class ) )
{
// TODO: this is currently very raw and susceptible to changes in content structure. Should we instead
populateStatisticsFromRepositoryWalk( metadataRepository, repositoryId, repositoryStatistics );
}
- log.info( "Gathering statistics executed in " + ( System.currentTimeMillis() - startGather ) + "ms" );
+ log.info( "Gathering statistics executed in {} ms", ( System.currentTimeMillis() - startGather ) );
metadataRepository.addMetadataFacet( repositoryId, repositoryStatistics );
}