Class PermittedSpacesAnalyticsEvent
- java.lang.Object
 - 
- com.atlassian.confluence.security.denormalisedpermissions.impl.analytics.PermittedSpacesAnalyticsEvent
 
 
- 
@AsynchronousPreferred public class PermittedSpacesAnalyticsEvent extends Object
An analytic event which is sent when methodBulkPermissionService.getPermittedSpaces(SpacesQuery, int, int)is called.- Since:
 - 7.11.0
 
 
- 
- 
Constructor Summary
Constructors Constructor Description 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. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAmountOfSids()longgetDurationMillisecond()intgetReceivedSpacesCount()intgetRequestedSpacesCount()booleanisFallbackServiceUsed()booleanisLegacyCodeUsed()booleanisPermissionsExempt() 
 - 
 
- 
- 
Constructor Detail
- 
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 Detail
- 
getReceivedSpacesCount
public int getReceivedSpacesCount()
 
- 
getRequestedSpacesCount
public int getRequestedSpacesCount()
 
- 
isFallbackServiceUsed
public boolean isFallbackServiceUsed()
 
- 
getDurationMillisecond
public long getDurationMillisecond()
 
- 
isPermissionsExempt
public boolean isPermissionsExempt()
 
- 
getAmountOfSids
public Integer getAmountOfSids()
 
- 
isLegacyCodeUsed
public boolean isLegacyCodeUsed()
 
 - 
 
 -