Class UserAddedNotificationStatisticsCollector
java.lang.Object
com.atlassian.crowd.analytics.statistics.collectors.useradded.UserAddedNotificationStatisticsCollector
- All Implemented Interfaces:
StatisticsCollector<UserAddedNotificationAggregateAnalyticsEvent>
@Named
public class UserAddedNotificationStatisticsCollector
extends Object
implements StatisticsCollector<UserAddedNotificationAggregateAnalyticsEvent>
Statistics collector for notifications sent to new users created in Crowd. Collected daily, creates a
UserAddedNotificationAggregateAnalyticsEvent
with the daily count and then resets it.- Since:
- 5.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollect()
boolean
Determines whether StatisticsCollector should run on each node OR once per cluster.
-
Constructor Details
-
UserAddedNotificationStatisticsCollector
-
-
Method Details
-
collect
- Specified by:
collect
in interfaceStatisticsCollector<UserAddedNotificationAggregateAnalyticsEvent>
- 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<UserAddedNotificationAggregateAnalyticsEvent>
- Returns:
- true if StatisticsCollector should run on each node, false if once per cluster.
-