Class SpaceKeysWithStatusesAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.security.denormalisedpermissions.impl.analytics.SpaceKeysWithStatusesAnalyticsEvent
-
@AsynchronousPreferred public class SpaceKeysWithStatusesAnalyticsEvent extends Object
An analytic event which is sent when methodBulkPermissionService.getAllSpaceKeysWithPermissionStatuses(ConfluenceUser, String)
is called.- Since:
- 7.11.0
-
-
Constructor Summary
Constructors Constructor Description SpaceKeysWithStatusesAnalyticsEvent(int permittedSpacesCount, int nonPermittedSpacesCount, boolean isFallbackServiceUsed, boolean isLegacyCodeUsed, long permittedSpacesDurationMs, long nonPermittedSpacesDurationMs, boolean permissionsExempt, Integer amountOfSids)
An analytic event which is sent when methodBulkPermissionService.getAllSpaceKeysWithPermissionStatuses(ConfluenceUser, String)
is called.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getAmountOfSids()
int
getNonPermittedSpacesCount()
long
getNonPermittedSpacesDurationMs()
int
getPermittedSpacesCount()
long
getPermittedSpacesDurationMs()
boolean
isFallbackServiceUsed()
boolean
isLegacyCodeUsed()
boolean
isPermissionsExempt()
-
-
-
Constructor Detail
-
SpaceKeysWithStatusesAnalyticsEvent
public SpaceKeysWithStatusesAnalyticsEvent(int permittedSpacesCount, int nonPermittedSpacesCount, boolean isFallbackServiceUsed, boolean isLegacyCodeUsed, long permittedSpacesDurationMs, long nonPermittedSpacesDurationMs, boolean permissionsExempt, Integer amountOfSids)
An analytic event which is sent when methodBulkPermissionService.getAllSpaceKeysWithPermissionStatuses(ConfluenceUser, String)
is called.- Parameters:
permittedSpacesCount
- Amount of permitted spaces that were received in response from dbnonPermittedSpacesCount
- Amount of non-permitted spaces that were received in response from dbisFallbackServiceUsed
- Indicates whether request was processed by denormalised permission service or by fallback service ("old" permissions service)isLegacyCodeUsed
- When it's called from legacy codepermittedSpacesDurationMs
- The execution duration of getting permitted spaces in millisecondsnonPermittedSpacesDurationMs
- The execution duration of getting permitted spaces in millisecondspermissionsExempt
- Indicate if the user is exempt from permission check
-
-
Method Detail
-
isFallbackServiceUsed
public boolean isFallbackServiceUsed()
-
isLegacyCodeUsed
public boolean isLegacyCodeUsed()
-
getPermittedSpacesDurationMs
public long getPermittedSpacesDurationMs()
-
getNonPermittedSpacesDurationMs
public long getNonPermittedSpacesDurationMs()
-
isPermissionsExempt
public boolean isPermissionsExempt()
-
getAmountOfSids
public Integer getAmountOfSids()
-
getPermittedSpacesCount
public int getPermittedSpacesCount()
-
getNonPermittedSpacesCount
public int getNonPermittedSpacesCount()
-
-