public static interface SimpleAssignmentStrategy.LoadCalculator
Modifier and Type | Method | Description |
---|---|---|
int |
getLoad(int iPartition) |
Return the load for the specified partition.
|
int |
getLoad(PartitionSet parts) |
Return the load for the specified set of partitions.
|
int getLoad(int iPartition)
iPartition
- the partition to determine the load forint getLoad(PartitionSet parts)
parts
- the partition set to determine the load for