Class SystemPropertiesCollector
java.lang.Object
com.atlassian.crowd.analytics.statistics.collectors.properties.SystemPropertiesCollector
- All Implemented Interfaces:
StatisticsCollector<SystemPropertiesStatisticsEvent>
@Named
public class SystemPropertiesCollector
extends Object
implements StatisticsCollector<SystemPropertiesStatisticsEvent>
Collects values of system properties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollect()
boolean
Determines whether StatisticsCollector should run on each node OR once per cluster.
-
Constructor Details
-
SystemPropertiesCollector
public SystemPropertiesCollector()
-
-
Method Details
-
collect
- Specified by:
collect
in interfaceStatisticsCollector<SystemPropertiesStatisticsEvent>
- Returns:
- the statistics event to publish
-
isPerNodeCollector
public boolean isPerNodeCollector()Description copied from interface:StatisticsCollector
Determines whether StatisticsCollector should run on each node OR once per cluster.- Specified by:
isPerNodeCollector
in interfaceStatisticsCollector<SystemPropertiesStatisticsEvent>
- Returns:
- true if StatisticsCollector should run on each node, false if once per cluster.
-