Class VisibleTopLevelPagesAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.analytics.VisibleTopLevelPagesAnalyticsEvent
-
@AsynchronousPreferred public class VisibleTopLevelPagesAnalyticsEvent extends Object
An analytics event which is sent when methodBulkPermissionService.getVisibleTopLevelPages(ConfluenceUser, long)
is called.- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description VisibleTopLevelPagesAnalyticsEvent(int visiblePagesCount, boolean isFallbackServiceUsed, long durationMillisecond, boolean permissionsExempt)
An analytic event which is sent when methodBulkPermissionService.getVisibleTopLevelPages(ConfluenceUser, long)
is called.VisibleTopLevelPagesAnalyticsEvent(int visiblePagesCount, boolean isFallbackServiceUsed, long durationMillisecond, boolean permissionsExempt, Integer amountOfSids)
An analytic event which is sent when methodBulkPermissionService.getVisibleTopLevelPages(ConfluenceUser, long)
is called.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAmountOfSids()
long
getDurationMillisecond()
int
getVisiblePagesCount()
boolean
isFallbackServiceUsed()
boolean
isPermissionsExempt()
-
-
-
Constructor Detail
-
VisibleTopLevelPagesAnalyticsEvent
public VisibleTopLevelPagesAnalyticsEvent(int visiblePagesCount, boolean isFallbackServiceUsed, long durationMillisecond, boolean permissionsExempt)
An analytic event which is sent when methodBulkPermissionService.getVisibleTopLevelPages(ConfluenceUser, long)
is called.- Parameters:
visiblePagesCount
- Number of visible top level pagesisFallbackServiceUsed
- Indicate if the fallback service is used instead of the normal servicedurationMillisecond
- The execution duration in millisecondspermissionsExempt
- Indicate if the user is exempt from permission check
-
VisibleTopLevelPagesAnalyticsEvent
public VisibleTopLevelPagesAnalyticsEvent(int visiblePagesCount, boolean isFallbackServiceUsed, long durationMillisecond, boolean permissionsExempt, Integer amountOfSids)
An analytic event which is sent when methodBulkPermissionService.getVisibleTopLevelPages(ConfluenceUser, long)
is called.- Parameters:
visiblePagesCount
- Number of visible top level pagesisFallbackServiceUsed
- Indicate if the fallback service is used instead of the normal servicedurationMillisecond
- The execution duration in millisecondspermissionsExempt
- Indicate if the user is exempt from permission checkamountOfSids
- Amount of sids available for the current user. Should be null for fallback service
-
-
Method Detail
-
getVisiblePagesCount
public int getVisiblePagesCount()
-
isFallbackServiceUsed
public boolean isFallbackServiceUsed()
-
getDurationMillisecond
public long getDurationMillisecond()
-
isPermissionsExempt
public boolean isPermissionsExempt()
-
getAmountOfSids
public Integer getAmountOfSids()
-
-