Interface AggregatedStatisticsCollector
-
- All Superinterfaces:
StatisticsCollector
- All Known Implementing Classes:
DefaultAggregatedStaitsicsCollector
public interface AggregatedStatisticsCollector extends StatisticsCollector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
addContainedCollector(BasicStatisticsCollector collector)
Add aBasicStatisticsCollector
that should be aggregated.boolean
evaluateValue(float value)
Evaluates the value, looking if the Value makes sense or not.java.util.List<BasicStatisticsCollector>
getContainedCollectors()
Get allBasicStatisticsCollector
s that should be aggregated.boolean
removeContainedCollector(BasicStatisticsCollector collector)
RemoveBasicStatisticsCollector
from aggregated collectors.-
Methods inherited from interface de.hybris.platform.servicelayer.stats.StatisticsCollector
getColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setName
-
-
-
-
Method Detail
-
getContainedCollectors
java.util.List<BasicStatisticsCollector> getContainedCollectors()
Get allBasicStatisticsCollector
s that should be aggregated.- Returns:
- A list containing the BasicStatisticsCollectors that should be aggregated.
-
addContainedCollector
boolean addContainedCollector(BasicStatisticsCollector collector)
Add aBasicStatisticsCollector
that should be aggregated.- Parameters:
collector
- The collector to add to aggregated collectors.- Returns:
- Indicating if adding was successful.
-
removeContainedCollector
boolean removeContainedCollector(BasicStatisticsCollector collector)
RemoveBasicStatisticsCollector
from aggregated collectors.- Parameters:
collector
- The collector to add.- Returns:
- Indicating if removing was successful.
-
evaluateValue
boolean evaluateValue(float value)
Evaluates the value, looking if the Value makes sense or not. Some Collectors may not work on some Operating Systems, so that we do not have to collect these data when running the platform on such a OS.- Parameters:
value
- Float the value that has to be checked.- Returns:
- boolean Indicates if the value makes sense (true) or not (false).
-
-