Interface RoundRobinLoadBalancingSpiMBean

    • Method Detail

      • isPerTask

        @MXBeanDescription("Configuration parameter indicating whether a new round robin order should be created for every task.")
        boolean isPerTask()
        Configuration parameter indicating whether a new round robin order should be created for every task. If true then load balancer is guaranteed to iterate through nodes sequentially for every task - so as long as number of jobs is less than or equal to the number of nodes, jobs are guaranteed to be assigned to unique nodes. If false then one round-robin order will be maintained for all tasks, so when tasks execute concurrently, it is possible for more than one job within task to be assigned to the same node.

        Default is true.

        Returns:
        Configuration parameter indicating whether a new round robin order should be created for every task. Default is true.