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