Class SpaceKeysWithStatusesAnalyticsEvent

    • Constructor Detail

      • SpaceKeysWithStatusesAnalyticsEvent

        public SpaceKeysWithStatusesAnalyticsEvent​(int permittedSpacesCount,
                                                   int nonPermittedSpacesCount,
                                                   boolean isFallbackServiceUsed,
                                                   boolean isLegacyCodeUsed,
                                                   long permittedSpacesDurationMs,
                                                   long nonPermittedSpacesDurationMs,
                                                   boolean permissionsExempt,
                                                   Integer amountOfSids)
        Parameters:
        permittedSpacesCount - Amount of permitted spaces that were received in response from db
        nonPermittedSpacesCount - Amount of non-permitted spaces that were received in response from db
        isFallbackServiceUsed - Indicates whether request was processed by denormalised permission service or by fallback service ("old" permissions service)
        isLegacyCodeUsed - When it's called from legacy code
        permittedSpacesDurationMs - The execution duration of getting permitted spaces in milliseconds
        nonPermittedSpacesDurationMs - The execution duration of getting permitted spaces in milliseconds
        permissionsExempt - 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()