Class MauEventServiceImpl

    • Constructor Detail

      • MauEventServiceImpl

        public MauEventServiceImpl​(com.atlassian.event.api.EventPublisher eventPublisher,
                                   Clock clock,
                                   com.atlassian.cache.CacheFactory cacheFactory,
                                   PermissionManager permissionManager,
                                   ConfluenceAccessManager accessManager)
    • Method Detail

      • addApplicationActivity

        public void addApplicationActivity​(MauApplicationKey appKey)
        Description copied from interface: MauEventService
        Mark this request represents a user activity in a specific sub-product (such as TC, CQ) The default application is Confluence, event if there is no call to this method during the request
        Specified by:
        addApplicationActivity in interface MauEventService
        Parameters:
        appKey - The sub-product
      • clearApplicationActivities

        public void clearApplicationActivities()
        Description copied from interface: MauEventService
        Reset the application activities for current request. Should be called once at the beginning of each request.
        Specified by:
        clearApplicationActivities in interface MauEventService
      • sendMauEvents

        public void sendMauEvents()
        Description copied from interface: MauEventService
        Send analytics events, if needed, with data accumulated during the whole request. The actual analytics events may not be sent, if they have been sent recently.
        Specified by:
        sendMauEvents in interface MauEventService