Interface WeightedRandomLoadBalancingSpiMBean

    • Method Detail

      • isUseWeights

        @MXBeanDescription("Whether node weights are considered when doing random load balancing.")
        boolean isUseWeights()
        Checks whether node weights are considered when doing random load balancing.
        Returns:
        If true then random load is distributed according to node weights.
      • getNodeWeight

        @MXBeanDescription("Weight of this node.")
        int getNodeWeight()
        Gets weight of this node.
        Returns:
        Weight of this node.