Package org.infinispan.stats.container
Class RemoteExtendedStatisticsContainer
- java.lang.Object
-
- org.infinispan.stats.container.BaseExtendedStatisticsContainer
-
- org.infinispan.stats.container.RemoteExtendedStatisticsContainer
-
- All Implemented Interfaces:
ExtendedStatisticsContainer
public class RemoteExtendedStatisticsContainer extends BaseExtendedStatisticsContainer
Container for the statistics corresponding to remote originated transactions. It only knows how to merge from othersRemoteExtendedStatisticsContainer- Since:
- 6.0
- Author:
- Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.stats.container.BaseExtendedStatisticsContainer
stats
-
-
Constructor Summary
Constructors Constructor Description RemoteExtendedStatisticsContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetIndex(ExtendedStatistic statistic)voidmergeTo(ConcurrentGlobalContainer globalContainer)it merges inthisthe statistic's values inother.-
Methods inherited from class org.infinispan.stats.container.BaseExtendedStatisticsContainer
addValue, getValue
-
-
-
-
Method Detail
-
mergeTo
public void mergeTo(ConcurrentGlobalContainer globalContainer)
Description copied from interface:ExtendedStatisticsContainerit merges inthisthe statistic's values inother. If for some reason theothercannot be merged, it fails silently
-
getIndex
protected int getIndex(ExtendedStatistic statistic)
- 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
-
-