Class PermittedSpacesAnalyticsEvent
java.lang.Object
com.atlassian.confluence.security.denormalisedpermissions.impl.analytics.PermittedSpacesAnalyticsEvent
An analytic event which is sent when method
BulkPermissionService.getPermittedSpaces(SpacesQuery, int, int) is called.- Since:
- 7.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionPermittedSpacesAnalyticsEvent(int receivedSpacesCount, int requestedSpacesCount, boolean isFallbackServiceUsed, boolean isLegacyCodeUsed, long durationMillisecond, boolean permissionsExempt, Integer amountOfSids) An analytic event which is sent when methodBulkPermissionService.getPermittedSpaces(SpacesQuery, int, int)is called. -
Method Summary
Modifier and TypeMethodDescriptionlongintintbooleanbooleanboolean
-
Constructor Details
-
PermittedSpacesAnalyticsEvent
public PermittedSpacesAnalyticsEvent(int receivedSpacesCount, int requestedSpacesCount, boolean isFallbackServiceUsed, boolean isLegacyCodeUsed, long durationMillisecond, boolean permissionsExempt, Integer amountOfSids) An analytic event which is sent when methodBulkPermissionService.getPermittedSpaces(SpacesQuery, int, int)is called.- Parameters:
receivedSpacesCount- Amount of spaces that were received in response from dbrequestedSpacesCount- Amount of spaces that were requestedisFallbackServiceUsed- Indicates whether request was processed by denormalised permission service or by fallback service ("old" permissions service)durationMillisecond- 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 Details
-
getReceivedSpacesCount
public int getReceivedSpacesCount() -
getRequestedSpacesCount
public int getRequestedSpacesCount() -
isFallbackServiceUsed
public boolean isFallbackServiceUsed() -
getDurationMillisecond
public long getDurationMillisecond() -
isPermissionsExempt
public boolean isPermissionsExempt() -
getAmountOfSids
-
isLegacyCodeUsed
public boolean isLegacyCodeUsed()
-