Interface SimpleAssignmentStrategy.LoadCalculator

    • Method Detail

      • getLoad

        int getLoad​(int iPartition)
        Return the load for the specified partition.
        Parameters:
        iPartition - the partition to determine the load for
        Returns:
        the load for the specified partition
      • getLoad

        int getLoad​(PartitionSet parts)
        Return the load for the specified set of partitions.
        Parameters:
        parts - the partition set to determine the load for
        Returns:
        the load for the specified set of partitions