GridGain™ 2.1.0
Java API Specification

org.gridgain.grid.spi.loadbalancing.roundrobin
Interface GridRoundRobinLoadBalancingSpiMBean

All Superinterfaces:
GridSpiManagementMBean
All Known Implementing Classes:
GridRoundRobinLoadBalancingSpi

@GridMBeanDescription(value="MBean that provides access to round robin load balancing SPI configuration.")
public interface GridRoundRobinLoadBalancingSpiMBean
extends GridSpiManagementMBean

Management bean for GridRoundRobinLoadBalancingSpi SPI.



See Also:

  Documentation
  Email Support
  Online Forums
  Issue Tracking

Author:   2005-2008 Copyright © GridGain Systems. All Rights Reserved. ver. 2.1.0

 

Method Summary
 boolean isPerTask()
          Configuration parameter indicating whether a new round robin order should be created for every task.
 
Methods inherited from interface org.gridgain.grid.spi.GridSpiManagementMBean
getAuthor, getGridGainHome, getLocalNodeId, getName, getStartTimestamp, getStartTimestampFormatted, getUpTime, getUpTimeFormatted, getVendorEmail, getVendorUrl, getVersion
 

Method Detail

isPerTask

@GridMBeanDescription(value="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.

GridGain™ 2.1.0
Java API Specification

GridGain™ - Grid Computing Made Simple, ver. 2.1.0.19122008
2005-2008 Copyright © GridGain Systems. All Rights Reserved.