use of com.hazelcast.monitor.impl.LocalMapStatsImpl in project hazelcast by hazelcast.
the class MapIsEmptyOperation method run.
public void run() {
empty = recordStore.isEmpty();
if (mapContainer.getMapConfig().isStatisticsEnabled()) {
LocalMapStatsImpl localMapStatsImpl = mapServiceContext.getLocalMapStatsProvider().getLocalMapStatsImpl(name);
localMapStatsImpl.incrementOtherOperations();
}
}
use of com.hazelcast.monitor.impl.LocalMapStatsImpl in project hazelcast by hazelcast.
the class MapSizeOperation method run.
@Override
public void run() {
recordStore.checkIfLoaded();
size = recordStore.size();
if (mapContainer.getMapConfig().isStatisticsEnabled()) {
LocalMapStatsProvider localMapStatsProvider = mapServiceContext.getLocalMapStatsProvider();
LocalMapStatsImpl localMapStatsImpl = localMapStatsProvider.getLocalMapStatsImpl(name);
localMapStatsImpl.incrementOtherOperations();
}
}
use of com.hazelcast.monitor.impl.LocalMapStatsImpl in project hazelcast by hazelcast.
the class QueryRunner method updateStatistics.
private void updateStatistics(MapContainer mapContainer) {
if (mapContainer.getMapConfig().isStatisticsEnabled()) {
LocalMapStatsImpl localStats = localMapStatsProvider.getLocalMapStatsImpl(mapContainer.getName());
localStats.incrementOtherOperations();
}
}
use of com.hazelcast.monitor.impl.LocalMapStatsImpl in project hazelcast by hazelcast.
the class NearCachedClientMapProxy method getLocalMapStats.
@Override
public LocalMapStats getLocalMapStats() {
LocalMapStats localMapStats = super.getLocalMapStats();
NearCacheStats nearCacheStats = nearCache.getNearCacheStats();
((LocalMapStatsImpl) localMapStats).setNearCacheStats(nearCacheStats);
return localMapStats;
}
Aggregations