Interface ClusterQueueMBean

    • Method Detail

      • getProducThreshold

        int getProducThreshold()
        Gets the number of messages above which a queue is considered loaded.
        Returns:
        the produce threshold
      • setProducThreshold

        void setProducThreshold​(int producThreshold)
        Sets the number of messages above which a queue is considered loaded.
        Parameters:
        producThreshold - the new threshold
      • getConsumThreshold

        int getConsumThreshold()
        Gets the number of pending "receive" requests above which a queue will request messages from the other queues of the cluster.
        Returns:
        the consume threshold
      • setConsumThreshold

        void setConsumThreshold​(int consumThreshold)
        Sets the number of pending "receive" requests above which a queue will request messages from the other queues of the cluster.
        Parameters:
        consumThreshold - the new threshold
      • isAutoEvalThreshold

        boolean isAutoEvalThreshold()
        True if an automatic reevaluation of the queues' thresholds values is allowed according to their activity.
        Returns:
        true if auto evaluation of thresholds is allowed.
      • setAutoEvalThreshold

        void setAutoEvalThreshold​(boolean autoEvalThreshold)
        Automatic reevaluation of the queues' thresholds can be done according to their activity.
        Parameters:
        autoEvalThreshold - true to enable auto evaluation of thresholds
      • getWaitAfterClusterReq

        long getWaitAfterClusterReq()
        Gets the time (in ms) during which a queue which requested something from the cluster is not authorized to do it again.
        Returns:
        the minimum time to wait before another cluster request.
      • setWaitAfterClusterReq

        void setWaitAfterClusterReq​(long waitAfterClusterReq)
        Sets the time (in ms) during which a queue which requested something from the cluster is not authorized to do it again.
        Parameters:
        waitAfterClusterReq - the minimum time to wait before another cluster request.
      • getRateOfFlow

        float getRateOfFlow()
        Gets an evaluation of the flow of messages handled by the queue.
        Returns:
        the rate of flow
      • getStatus

        String getStatus()
        Gets the status of the queue (RUN, INIT or WAIT).
        Returns:
        the status of the queue
        See Also:
        LoadingFactor.Status
      • getReceivedFromCluster

        int getReceivedFromCluster()
      • getSentToCluster

        int getSentToCluster()