Class LocalExtendedStatisticsContainer
java.lang.Object
org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
org.infinispan.extendedstats.container.LocalExtendedStatisticsContainer
- All Implemented Interfaces:
ExtendedStatisticsContainer
Container for the statistics corresponding to local originated transactions. It only knows how to merge from others
LocalExtendedStatisticsContainer- Since:
- 6.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields inherited from class org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
stats -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final intgetIndex(ExtendedStatistic statistic) final voidmergeTo(ConcurrentGlobalContainer globalContainer) it merges inthisthe statistic's values inother.final StringtoString()Methods inherited from class org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
addValue, getValue
-
Constructor Details
-
LocalExtendedStatisticsContainer
public LocalExtendedStatisticsContainer()
-
-
Method Details
-
mergeTo
Description copied from interface:ExtendedStatisticsContainerit merges inthisthe statistic's values inother. If for some reason theothercannot be merged, it fails silently -
toString
-
getIndex
- Specified by:
getIndexin classBaseExtendedStatisticsContainer- Returns:
- the index of the statistic in this container. It return
ExtendedStatistic.NO_INDEXif the statistic does not exist in this container
-