*/
protected ExternalMetrics _gatherMetrics(long creationTime, boolean fullStats)
{
ExternalMetrics metrics = new ExternalMetrics(creationTime);
StoreBackend entries = _entryStore.getBackend();
BackendStatsConfig conf = BACKEND_STATS_CONFIG;
if (fullStats) {
conf = conf.onlyCollectFast(false);
}
metrics.stores.entries = new BackendMetrics(creationTime,
entries.getEntryCount(),
_clean(entries.getEntryStatistics(BACKEND_STATS_CONFIG)));
metrics.stores.entryIndex = new BackendMetrics(creationTime,
entries.getIndexedCount(),
_clean(entries.getIndexStatistics(BACKEND_STATS_CONFIG)));
metrics.stores.lastAccessStore = new BackendMetrics(creationTime,
_lastAccessStore.getEntryCount(),
_clean(_lastAccessStore.getEntryStatistics(BACKEND_STATS_CONFIG)));
AllOperationMetrics opMetrics = new AllOperationMetrics();