Class MauEventServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.event.mau.MauEventServiceImpl
- All Implemented Interfaces:
MauEventService
-
Constructor Summary
ConstructorsConstructorDescriptionMauEventServiceImpl
(com.atlassian.event.api.EventPublisher eventPublisher, Clock clock, com.atlassian.cache.CacheFactory cacheFactory, PermissionManager permissionManager, ConfluenceAccessManager accessManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 requestvoid
Reset the application activities for current request.void
Send analytics events, if needed, with data accumulated during the whole request.
-
Constructor Details
-
MauEventServiceImpl
public MauEventServiceImpl(com.atlassian.event.api.EventPublisher eventPublisher, Clock clock, com.atlassian.cache.CacheFactory cacheFactory, PermissionManager permissionManager, ConfluenceAccessManager accessManager)
-
-
Method Details
-
addApplicationActivity
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 interfaceMauEventService
- 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 interfaceMauEventService
-
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 interfaceMauEventService
-