Class DataCollectionJob


  • @Component
    public class DataCollectionJob
    extends Object
    • Constructor Detail

      • DataCollectionJob

        @Inject
        public DataCollectionJob​(com.atlassian.analytics.api.services.AnalyticsConfigService analyticsConfigService,
                                 EventProducersFinder eventProducersFinder,
                                 com.atlassian.event.api.EventPublisher eventPublisher,
                                 NodeStatusProvider nodeStatusProvider)
    • Method Detail

      • shouldCollectionProceed

        public boolean shouldCollectionProceed()
        Check if server can publish analytics events
      • canCollectAnalytics

        public boolean canCollectAnalytics()
        Check if gathering analytics is enabled