public static class SimpleAssignmentStrategy.SimpleLoadCalculator extends Object implements SimpleAssignmentStrategy.LoadCalculator
| Constructor and Description | 
|---|
SimpleLoadCalculator()  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getLoad(int nPartition)
Return the load for the specified partition. 
 | 
int | 
getLoad(PartitionSet parts)
Return the load for the specified set of partitions. 
 | 
public int getLoad(int nPartition)
getLoad in interface SimpleAssignmentStrategy.LoadCalculatornPartition - the partition to determine the load forpublic int getLoad(PartitionSet parts)
getLoad in interface SimpleAssignmentStrategy.LoadCalculatorparts - the partition set to determine the load for