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
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getIndex
(ExtendedStatistic statistic) void
mergeTo
(ConcurrentGlobalContainer globalContainer) it merges inthis
the 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:ExtendedStatisticsContainer
it merges inthis
the statistic's values inother
. If for some reason theother
cannot be merged, it fails silently -
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
-