Class ClusterEventProducer
java.lang.Object
com.atlassian.bamboo.analytics.basedata.collector.generator.ClusterEventProducer
- All Implemented Interfaces:
StatisticsEventsProducer
-
Constructor Summary
ConstructorDescriptionClusterEventProducer
(BambooClusterNodeHeartbeatService bambooClusterNodeHeartbeatService, ImmutablePlanCacheService immutablePlanCacheService, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager) -
Method Summary
Modifier and TypeMethodDescription@Nullable Collection<BaseDataEvent>
void
Reset statistics, but don't generate events.
-
Constructor Details
-
ClusterEventProducer
public ClusterEventProducer(BambooClusterNodeHeartbeatService bambooClusterNodeHeartbeatService, ImmutablePlanCacheService immutablePlanCacheService, CachedRepositoryDefinitionManager cachedRepositoryDefinitionManager)
-
-
Method Details
-
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
-