Interface MauEventService

All Known Implementing Classes:
MauEventServiceImpl

public interface MauEventService
MAU events are sent as analytics events per product per user after a fixed interval, if there are any activities in the product from the user during that interval.

This service provides methods to control the events to be send in each servlet request.

Since:
5.9
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    void
    Reset the application activities for current request.
    void
    Send analytics events, if needed, with data accumulated during the whole request.
  • Method Details

    • addApplicationActivity

      void addApplicationActivity(@NonNull MauApplicationKey appKey)
      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
      Parameters:
      appKey - The sub-product
    • clearApplicationActivities

      void clearApplicationActivities()
      Reset the application activities for current request. Should be called once at the beginning of each request.
    • sendMauEvents

      void sendMauEvents()
      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.