Interface BasicStatisticsCollector
-
- All Superinterfaces:
StatisticsCollector
- All Known Implementing Classes:
CommittedMemoryCollector,CpuWorkloadCollector,DBConnectionsInUseCollector,HTTPSessionCollector,MaxMemoryCollector,TaskQueuePoolingQueueSizeStatisticsCollector,TaskQueueSizeStatisticsCollector,ThreadsCollector,UsedMemoryCollector
public interface BasicStatisticsCollector extends StatisticsCollector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatcollect()Collects a specific set of data, to be shown by a chart.booleanevaluateValue(float value)Evaluates the value, looking if the Value makes sense or not.-
Methods inherited from interface de.hybris.platform.servicelayer.stats.StatisticsCollector
getColor, getEnabled, getLabel, getName, setColor, setEnabled, setLabel, setName
-
-
-
-
Method Detail
-
collect
float collect()
Collects a specific set of data, to be shown by a chart.- Returns:
- float The data at the current tick.
-
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 dont 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).
-
-