@AsynchronousPreferred public class PermittedSpacesAnalyticsEvent extends Object
BulkPermissionService.getPermittedSpaces(SpacesQuery, int, int)
is called.Constructor and Description |
---|
PermittedSpacesAnalyticsEvent(int receivedSpacesCount,
int requestedSpacesCount,
boolean isFallbackServiceUsed,
boolean isLegacyCodeUsed,
long durationMillisecond,
boolean permissionsExempt,
Integer amountOfSids)
An analytic event which is sent when method
BulkPermissionService.getPermittedSpaces(SpacesQuery, int, int) is called. |
Modifier and Type | Method and Description |
---|---|
Integer |
getAmountOfSids() |
long |
getDurationMillisecond() |
int |
getReceivedSpacesCount() |
int |
getRequestedSpacesCount() |
boolean |
isFallbackServiceUsed() |
boolean |
isLegacyCodeUsed() |
boolean |
isPermissionsExempt() |
public PermittedSpacesAnalyticsEvent(int receivedSpacesCount, int requestedSpacesCount, boolean isFallbackServiceUsed, boolean isLegacyCodeUsed, long durationMillisecond, boolean permissionsExempt, Integer amountOfSids)
BulkPermissionService.getPermittedSpaces(SpacesQuery, int, int)
is called.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 servicepublic int getReceivedSpacesCount()
public int getRequestedSpacesCount()
public boolean isFallbackServiceUsed()
public long getDurationMillisecond()
public boolean isPermissionsExempt()
public Integer getAmountOfSids()
public boolean isLegacyCodeUsed()
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences