Class LeastUtilizationRoutingStrategy

java.lang.Object
NetStrategies.RoutingStrategy
NetStrategies.RoutingStrategies.LeastUtilizationRoutingStrategy
All Implemented Interfaces:
AutoCheck

public class LeastUtilizationRoutingStrategy extends RoutingStrategy
This strategy sends jobs to the resource with the least utilization. Date: 12-nov-2005
Author:
Bertoli Marco
  • Constructor Details

    • LeastUtilizationRoutingStrategy

      public LeastUtilizationRoutingStrategy()
  • Method Details

    • getOutNode

      public NetNode getOutNode(NetNode ownerNode, JobClass jobClass)
      This strategy selects the resource with the least utilization among the output nodes.
      Specified by:
      getOutNode in class RoutingStrategy
      Parameters:
      ownerNode - Owner node of the output section.
      jobClass - Class of current job to be routed.
      Returns:
      Selected node.