Class UserPrefetchEvent


  • @AsynchronousPreferred
    public class UserPrefetchEvent
    extends Object
    An event indicating that user prefetch was attempted.
    Since:
    5.10
    • Method Detail

      • getRenderedContentId

        public @Nullable Long getRenderedContentId()
        Returns:
        The ID of the content (e.g. page) being rendered (if any)
      • getUserResourceCount

        public int getUserResourceCount()
        Returns:
        the number of user resources that we were asked to prefetch
      • getUserKeyCount

        public int getUserKeyCount()
        Returns:
        the number of userkeys to be prefetched
      • getConfluenceUserCount

        public int getConfluenceUserCount()
        Returns:
        the number of ConfluenceUser objects that were prefetched
      • getCrowdUserCount

        public int getCrowdUserCount()
        Returns:
        the number of Crowd user objects that were prefetched
      • getElapsedTimeMillis

        public long getElapsedTimeMillis()
        Returns:
        The elapsed time taken by the prefetcher, in millis