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 voidaddApplicationActivity(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 requestvoidclearApplicationActivities()Reset the application activities for current request.voidsendMauEvents()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:MauEventServiceMark 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:
addApplicationActivityin interfaceMauEventService- Parameters:
appKey- The sub-product
-
clearApplicationActivities
public void clearApplicationActivities()
Description copied from interface:MauEventServiceReset the application activities for current request. Should be called once at the beginning of each request.- Specified by:
clearApplicationActivitiesin interfaceMauEventService
-
sendMauEvents
public void sendMauEvents()
Description copied from interface:MauEventServiceSend 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:
sendMauEventsin interfaceMauEventService
-
-