Class OsStatisticsEventProducer
- java.lang.Object
-
- com.atlassian.bamboo.analytics.basedata.collector.generator.OsStatisticsEventProducer
-
- All Implemented Interfaces:
StatisticsEventsProducer
public class OsStatisticsEventProducer extends Object implements StatisticsEventsProducer
-
-
Constructor Summary
Constructors Constructor Description OsStatisticsEventProducer(RemoteAgentsAnalyticsService remoteAgentsAnalyticsService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Collection<BaseDataEvent>
generateEvents()
void
resetStatistics()
Reset statistics, but don't generate events.
-
-
-
Constructor Detail
-
OsStatisticsEventProducer
public OsStatisticsEventProducer(RemoteAgentsAnalyticsService remoteAgentsAnalyticsService)
-
-
Method Detail
-
generateEvents
@NotNull public @NotNull Collection<BaseDataEvent> generateEvents()
- Specified by:
generateEvents
in interfaceStatisticsEventsProducer
- Returns:
- Analytic events with statistics.
-
resetStatistics
public void resetStatistics()
Description copied from interface:StatisticsEventsProducer
Reset statistics, but don't generate events. Use when statistics have to be cleared when publishing analytics is disabled- Specified by:
resetStatistics
in interfaceStatisticsEventsProducer
-
-