Class UptimeStatisticsCollector
java.lang.Object
com.atlassian.crowd.analytics.statistics.collectors.instance.UptimeStatisticsCollector
- All Implemented Interfaces:
StatisticsCollector<InstanceUptimeStatisticsEvent>
@Named
public class UptimeStatisticsCollector
extends Object
implements StatisticsCollector<InstanceUptimeStatisticsEvent>
-
Constructor Summary
ConstructorDescriptionUptimeStatisticsCollector
(ClusterService clusterService, StartupInfoDao startupInfoDao, Clock clock) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.crowd.common.analytics.statistics.collectors.StatisticsCollector
isPerNodeCollector
-
Constructor Details
-
UptimeStatisticsCollector
@Inject public UptimeStatisticsCollector(ClusterService clusterService, StartupInfoDao startupInfoDao, Clock clock)
-
-
Method Details
-
collect
- Specified by:
collect
in interfaceStatisticsCollector<InstanceUptimeStatisticsEvent>
- Returns:
- the statistics event to publish
-