Class PermittedSpaceIdsAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.analytics.PermittedSpaceIdsAnalyticsEvent
-
@AsynchronousPreferred public class PermittedSpaceIdsAnalyticsEvent extends Object
An analytic event which is sent when methodBulkPermissionService.getPermittedSpaceIds(ConfluenceUser, Set, String)
is called.- Since:
- 7.12.1
-
-
Constructor Summary
Constructors Constructor Description PermittedSpaceIdsAnalyticsEvent(long duration, int numberOfSids, boolean permissionExempt, int inputNumberOfSpaces, int visibleNumberOfSpaces, int visibleNumberOfSpacesBeforeRecheckingPermissions, int numberOfRecentlyChangedSpaces)
An analytic event which is sent when methodBulkPermissionService.getPermittedSpaceIds(ConfluenceUser, Set, String)
is called.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDuration()
int
getInputNumberOfSpaces()
int
getNumberOfRecentlyChangedSpaces()
int
getNumberOfSids()
int
getVisibleNumberOfSpaces()
int
getVisibleNumberOfSpacesBeforeRecheckingPermissions()
boolean
isPermissionExempt()
-
-
-
Constructor Detail
-
PermittedSpaceIdsAnalyticsEvent
public PermittedSpaceIdsAnalyticsEvent(long duration, int numberOfSids, boolean permissionExempt, int inputNumberOfSpaces, int visibleNumberOfSpaces, int visibleNumberOfSpacesBeforeRecheckingPermissions, int numberOfRecentlyChangedSpaces)
An analytic event which is sent when methodBulkPermissionService.getPermittedSpaceIds(ConfluenceUser, Set, String)
is called.- Parameters:
duration
- processing time in msnumberOfSids
- number of sids found the current user.permissionExempt
- true if user permission exempt.inputNumberOfSpaces
- number of spaces received by the method.visibleNumberOfSpaces
- number of visible spaces returned.visibleNumberOfSpacesBeforeRecheckingPermissions
- number of visible spaces returned by fast permissions (before permissions rechecking).numberOfRecentlyChangedSpaces
- number of spaces changed but not processed by fast permissions
-
-
Method Detail
-
getDuration
public long getDuration()
-
getNumberOfSids
public int getNumberOfSids()
-
isPermissionExempt
public boolean isPermissionExempt()
-
getInputNumberOfSpaces
public int getInputNumberOfSpaces()
-
getVisibleNumberOfSpaces
public int getVisibleNumberOfSpaces()
-
getVisibleNumberOfSpacesBeforeRecheckingPermissions
public int getVisibleNumberOfSpacesBeforeRecheckingPermissions()
-
getNumberOfRecentlyChangedSpaces
public int getNumberOfRecentlyChangedSpaces()
-
-