Skip to content

Commit 7a22164

Browse files
committed
Upgrade to CloudSim Plus 8.4.0
Signed-off-by: Manoel Campos <[email protected]>
1 parent 70e6a74 commit 7a22164

File tree

3 files changed

+2
-235
lines changed

3 files changed

+2
-235
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
The module version defines the version of CloudSim Plus to be used.
99
This way, it cannot be a version number which doesn't exist for CloudSim Plus.
1010
-->
11-
<version>8.3.0</version>
11+
<version>8.4.0</version>
1212

1313
<name>CloudSim Plus Examples</name>
1414
<description>

src/main/java/org/cloudsimplus/examples/VmDestructionExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private void vmProcessingUpdateListener(VmHostEventInfo info) {
149149
System.out.printf(
150150
"%n# %.2f: Intentionally destroying %s due to CPU overload. Current VM CPU usage is %.2f%%%n",
151151
info.getTime(), vm, vm.getCpuPercentUtilization()*100);
152-
vm.getHost().destroyVm(vm);
152+
vm.shutdown();
153153
}
154154

155155
datacenter0.getHostList().forEach(h -> System.out.printf("# %.2f: %s CPU Utilization %.2f%%%n", info.getTime(), h, h.getCpuPercentUtilization()*100));

src/main/java/org/cloudsimplus/examples/synchronous/SynchronousSimulationDestroyVmExample1.java

Lines changed: 0 additions & 233 deletions
This file was deleted.

0 commit comments

Comments
 (0)