Package org.infinispan.stats.container
Class LocalExtendedStatisticsContainer
- java.lang.Object
 - 
- org.infinispan.stats.container.BaseExtendedStatisticsContainer
 - 
- org.infinispan.stats.container.LocalExtendedStatisticsContainer
 
 
 
- 
- All Implemented Interfaces:
 ExtendedStatisticsContainer
public class LocalExtendedStatisticsContainer extends BaseExtendedStatisticsContainer
Container for the statistics corresponding to local originated transactions. It only knows how to merge from othersLocalExtendedStatisticsContainer- Since:
 - 6.0
 - Author:
 - Pedro Ruivo
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.infinispan.stats.container.BaseExtendedStatisticsContainer
stats 
 - 
 
- 
Constructor Summary
Constructors Constructor Description LocalExtendedStatisticsContainer() 
- 
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.StringtoString()- 
Methods inherited from class org.infinispan.stats.container.BaseExtendedStatisticsContainer
addValue, getValue 
 - 
 
 - 
 
- 
- 
Method Detail
- 
mergeTo
public final 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 final 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 
 
 - 
 
 -