Interface ExtendedStatisticsContainer
- All Known Implementing Classes:
BaseExtendedStatisticsContainer
,LocalExtendedStatisticsContainer
,RemoteExtendedStatisticsContainer
public interface ExtendedStatisticsContainer
Contains the statistic's values and allows to perform modifications on them.
- Since:
- 6.0
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addValue
(ExtendedStatistic statistic, double value) it adds the value to the statistic.double
getValue
(ExtendedStatistic statistic) void
mergeTo
(ConcurrentGlobalContainer globalContainer) it merges inthis
the statistic's values inother
.
-
Method Details
-
addValue
it adds the value to the statistic. If the statistic does not exist in this container, it fails silently -
getValue
- Returns:
- the current value of the statistic
- Throws:
ExtendedStatisticNotFoundException
- if the statistic was not found in this container
-
mergeTo
it merges inthis
the statistic's values inother
. If for some reason theother
cannot be merged, it fails silently
-