Class FastestServiceRoutingStrategy
java.lang.Object
NetStrategies.RoutingStrategy
NetStrategies.RoutingStrategies.FastestServiceRoutingStrategy
- All Implemented Interfaces:
AutoCheck
This strategy sends jobs to the resource with the fastest service.
Date: 13-nov-2005
- Author:
- Bertoli Marco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetOutNode(NetNode ownerNode, JobClass jobClass) This strategy selects the resource with the fastest service for this jobClass among the output nodes.Methods inherited from class RoutingStrategy
check, getOutNode, getOutNode
-
Constructor Details
-
FastestServiceRoutingStrategy
public FastestServiceRoutingStrategy()
-
-
Method Details
-
getOutNode
This strategy selects the resource with the fastest service for this jobClass among the output nodes.- Specified by:
getOutNodein classRoutingStrategy- Parameters:
ownerNode- Owner node of the output section.jobClass- Class of current job to be routed.- Returns:
- Selected node.
-