public class LocalMapStatsProvider extends Object
createLocalMapStats(java.lang.String)
and also holds all LocalMapStatsImpl
implementations of all maps.Modifier and Type | Class and Description |
---|---|
protected static class |
LocalMapStatsProvider.LocalMapOnDemandCalculatedStats |
Modifier and Type | Field and Description |
---|---|
static LocalMapStats |
EMPTY_LOCAL_MAP_STATS |
Constructor and Description |
---|
LocalMapStatsProvider(MapServiceContext mapServiceContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
addStructureStats(String mapName,
LocalMapStatsProvider.LocalMapOnDemandCalculatedStats onDemandStats)
Adds stats related to the data structure itself that should be
reported even if the map or some of its
RecordStore is empty |
Map<String,LocalMapStats> |
createAllLocalMapStats() |
LocalMapStatsImpl |
createLocalMapStats(String mapName) |
void |
destroyLocalMapStatsImpl(String name) |
LocalMapStatsImpl |
getLocalMapStatsImpl(String name) |
protected MapServiceContext |
getMapServiceContext() |
public static final LocalMapStats EMPTY_LOCAL_MAP_STATS
public LocalMapStatsProvider(MapServiceContext mapServiceContext)
protected MapServiceContext getMapServiceContext()
public LocalMapStatsImpl getLocalMapStatsImpl(String name)
public void destroyLocalMapStatsImpl(String name)
public LocalMapStatsImpl createLocalMapStats(String mapName)
public Map<String,LocalMapStats> createAllLocalMapStats()
protected void addStructureStats(String mapName, LocalMapStatsProvider.LocalMapOnDemandCalculatedStats onDemandStats)
RecordStore
is emptymapName
- The name of the maponDemandStats
- The on-demand map statisticsCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.