Interface RoundRobinLoadBalancingSpiMBean
-
- All Superinterfaces:
IgniteSpiManagementMBean
@MXBeanDescription("MBean that provides access to round robin load balancing SPI configuration.") public interface RoundRobinLoadBalancingSpiMBean extends IgniteSpiManagementMBean
Management bean forRoundRobinLoadBalancingSpiSPI.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPerTask()Configuration parameter indicating whether a new round robin order should be created for every task.-
Methods inherited from interface org.apache.ignite.spi.IgniteSpiManagementMBean
getIgniteHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted
-
-
-
-
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. Iftruethen 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. Iffalsethen 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.
-
-