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
-
Method Summary
Modifier and TypeMethodDescriptionprotected final int
getIndex
(ExtendedStatistic statistic) final void
mergeTo
(ConcurrentGlobalContainer globalContainer) it merges inthis
the statistic's values inother
.final String
toString()
Methods inherited from class org.infinispan.extendedstats.container.BaseExtendedStatisticsContainer
addValue, getValue
-
Constructor Details
-
LocalExtendedStatisticsContainer
public LocalExtendedStatisticsContainer()
-
-
Method Details
-
mergeTo
Description copied from interface:ExtendedStatisticsContainer
it merges inthis
the statistic's values inother
. If for some reason theother
cannot be merged, it fails silently -
toString
-
getIndex
- Specified by:
getIndex
in classBaseExtendedStatisticsContainer
- Returns:
- the index of the statistic in this container. It return
ExtendedStatistic.NO_INDEX
if the statistic does not exist in this container
-