Class RemoteExtendedStatisticsContainer
java.lang.Object
org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
org.infinispan.extendedstats.container.RemoteExtendedStatisticsContainer
- All Implemented Interfaces:
ExtendedStatisticsContainer
Container for the statistics corresponding to remote originated transactions. It only knows how to merge from others
RemoteExtendedStatisticsContainer- 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 intgetIndex(ExtendedStatistic statistic) voidmergeTo(ConcurrentGlobalContainer globalContainer) it merges inthisthe statistic's values inother.Methods inherited from class org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
addValue, getValue
-
Constructor Details
-
RemoteExtendedStatisticsContainer
public RemoteExtendedStatisticsContainer()
-
-
Method Details
-
mergeTo
Description copied from interface:ExtendedStatisticsContainerit merges inthisthe statistic's values inother. If for some reason theothercannot be merged, it fails silently -
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
-