Class AccountLimits


  • public class AccountLimits
    extends Object
    Limits which QoS a user runs as, and how many search results it can request.
    • Method Detail

      • getQueueType

        public QueueProvider.QueueType getQueueType()
        Returns:
        which priority queue the user's tasks should be submitted to.
      • hasExplicitRange

        public boolean hasExplicitRange​(String permission)
        Returns:
        true if the user has a permission rule specifying the range.
      • getRange

        public PermissionRange getRange​(String permission)
        The range of permitted values associated with a label permission.