Class SetThresholdRequest

    • Field Detail

      • threshold

        private int threshold
        Threshold value (-1 no limit).
      • subName

        private String subName
        subscription name
    • Constructor Detail

      • SetThresholdRequest

        public SetThresholdRequest​(String destId,
                                   int threshold)
        Constructs a SetQueueThreshold instance.
        Parameters:
        destId - Identifier of the queue the threshold is set for.
        threshold - Threshold value.
      • SetThresholdRequest

        public SetThresholdRequest​(String destId,
                                   String subName,
                                   int threshold)
        Constructs a SetQueueThreshold instance.
        Parameters:
        destId - Identifier of the queue or subscription.
        subName - Subscription name.
        threshold - Threshold value.
      • SetThresholdRequest

        public SetThresholdRequest()
    • Method Detail

      • getThreshold

        public int getThreshold()
        Returns the threshold value.
        Returns:
        The threshold value.
      • getSubName

        public String getSubName()
        Returns SubName.
        Returns:
        the subscription identifier.