Interface UserAgentMBean

    • Method Detail

      • getName

        String getName()
        Returns the name of this queue, or its id if not set.
        Specified by:
        getName in interface AgentMBean
        Returns:
        the name of this queue; its id if not set.
      • getPeriod

        long getPeriod()
        Returns the period value of this queue, -1 if not set.
        Returns:
        the period value of this queue; -1 if not set.
      • setPeriod

        void setPeriod​(long period)
        Sets or unsets the period for this queue.
        Parameters:
        period - The period value to be set or -1 for unsetting previous value.
      • getSubscriptionNames

        String[] getSubscriptionNames()
        Returns the list of subscriptions for this user. Each subscription is identified by its unique 'symbolic' name.
        Returns:
        The list of subscriptions for this user.
      • toString

        String toString()
        Returns a string representation of this user's proxy.
        Specified by:
        toString in interface AgentMBean
        Overrides:
        toString in class Object
        Returns:
        A string representation of this agent.
      • getNbMsgsSentToDMQSinceCreation

        long getNbMsgsSentToDMQSinceCreation()
        Returns the number of erroneous messages forwarded to the DMQ since creation time of this proxy..
        Returns:
        the number of erroneous messages forwarded to the DMQ.
      • getDMQId

        String getDMQId()
        Returns the default DMQ for subscription of this user.
        Returns:
        the default DMQ for subscription of this user.
      • getThreshold

        int getThreshold()
        Returns the default threshold for the subscription of this user. 0 stands for no threshold, -1 for value not set.
        Returns:
        the maximum number of message if set; -1 otherwise.
      • setThreshold

        void setThreshold​(int threshold)
        Sets the default threshold for the subscription of this user. 0 stands for no threshold, -1 for value not set.
        Parameters:
        threshold - the threshold to set.
      • getNbMaxMsg

        int getNbMaxMsg()
        Returns the default maximum number of message for the subscription of this user. If the limit is unset the method returns -1.
        Returns:
        the maximum number of message if set; -1 otherwise.
      • setNbMaxMsg

        void setNbMaxMsg​(int nbMaxMsg)
        Sets the maximum number of message for the subscription of this user.
        Parameters:
        nbMaxMsg - the maximum number of message (-1 set no limit).
      • delete

        void delete()
        Deletes this proxy.
        Specified by:
        delete in interface AgentMBean
      • getMessageTableConsumedMemory

        int getMessageTableConsumedMemory()
        Returns the amount of memory consumed by the message table.
      • getRedeliveryDelay

        int getRedeliveryDelay()
        Return the reDeliveryDelay (unit: second)
      • setRedeliveryDelay

        void setRedeliveryDelay​(int redeliveryDelay)
        Sets the redelivery delay.
        Parameters:
        redeliveryDelay - the redelivery delay to set(unit: second)