@Override public void run() { final MapServiceContext mapServiceContext = mapService.getMapServiceContext(); final RecordStore recordStore = mapServiceContext.getRecordStore(getPartitionId(), name); values = recordStore.valuesData(); if (mapContainer.getMapConfig().isStatisticsEnabled()) { LocalMapStatsProvider localMapStatsProvider = mapServiceContext.getLocalMapStatsProvider(); LocalMapStatsImpl localMapStatsImpl = localMapStatsProvider.getLocalMapStatsImpl(name); localMapStatsImpl.incrementOtherOperations(); } }
protected LocalMapStatsImpl getLocalMapStats() { final MapServiceContext mapServiceContext = mapService.getMapServiceContext(); final LocalMapStatsProvider localMapStatsProvider = mapServiceContext.getLocalMapStatsProvider(); return localMapStatsProvider.getLocalMapStatsImpl(name); }