Changeset 1391 for DCWoRMS/branches
- Timestamp:
- 06/23/14 16:29:14 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/test/migrate/FCFSBF_RandomPluginMigrate.java
r1375 r1391 125 125 126 126 private Node findLeastLoadedResource(List<Node> nodes ){ 127 Node leastLoadedNode d= null;127 Node leastLoadedNode = null; 128 128 double minLoad = Double.MAX_VALUE; 129 129 … … 132 132 double totalLoad = node.getLoadInterface().getRecentUtilization().getValue(); 133 133 if(totalLoad < minLoad){ 134 leastLoadedNode d= node;134 leastLoadedNode= node; 135 135 minLoad = totalLoad; 136 136 } 137 137 } 138 return leastLoadedNode d;138 return leastLoadedNode; 139 139 } 140 140
Note: See TracChangeset
for help on using the changeset viewer.