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 TypeMethodDescriptionvoidMark 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 requestvoidReset the application activities for current request.voidSend 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: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
-