public interface MapStatsModule extends StatsModule
This interface represents a statistic module for map. A map statistic module contains 3 statistics:
MapMBean.retrieveStatsModule()MODULE_TYPE_AGENT, MODULE_TYPE_HASHINDEX, MODULE_TYPE_MAP, MODULE_TYPE_OBJECT_GRID, MODULE_TYPE_QUERY, MODULE_TYPE_SESSION, MODULE_TYPE_UNDEFINED, PATH_DELIMITER| Modifier and Type | Method and Description |
|---|---|
ActiveTimeStatistic |
getBatchUpdateTime(boolean copyMode)
Gets the map's loader batch update time.
|
PercentageStatistic |
getHitRate(boolean copyMode)
Gets the map hit rate statistic.
|
ActiveCountStatistic |
getNumEntries(boolean copyMode)
Gets the number of entries statistic.
|
ActiveCountStatistic |
getUsedBytes(boolean copyMode)
Gets the number of bytes in use by the map.
|
combine, copy, getPath, getStatsSpec, reset, setGroupModule, statsToString, updateActiveCountStatistic getNumEntries(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveCountStatisticActiveCountStatistic getUsedBytes(boolean copyMode)
The used bytes statistics are accurate only when you are using simple objects or the COPY_TO_BYTES copy mode.
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveCountStatisticPercentageStatistic getHitRate(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
This statistic also contains the map get count and hit count from which the hit rate is derived.
copyMode - if set to true, a copy is returned.PercentageStatisticActiveTimeStatistic getBatchUpdateTime(boolean copyMode)
If the copyMode is set to true, a copy is returned. It is
recommended to set the copy mode to true when this method is
called in the same JVM as the JVM in which the statistics are gathered.
copyMode - if set to true, a copy is returned.ActiveTimeStatistic,
Loader.batchUpdate(TxID, LogSequence)