Commit 38bf8b0
authored
Introduces Lifetimed, Startable and StartableAbstract class/interfaces
- Introduces a Vm lifeTime attribute (Cloudlet already had it)
- Makes Broker request VM destruction after reaching lifeTime
- Start and finishTime attributes were moved to the new Startable interface and StartableAbstract class.
Now such attributes are uniform between Cloudlet, Vm and Host.
- Makes CustomerEntity extends Lifetimed and Startable
- Redesign to provide a default implementation for Lifetimed.isLifeTimeReached
- Renames Cloudlet.getActualCpuTime to getTotalExecutionTime to conform to the Vm method.
That method is now defined inside CustomerEntity interface.
- Renames Cloudlet.execStartTime to startTime to conform to Vm.startTime
to avoid confusion and provide uniformity to method names
- Renames Cloudlet.getWaitingTime to getStartWaitTime
- Renames Vm and Cloudlet (CustomerEntity) getWaitTime to getCreationWaitTime
- Renames Cloudlet and Vm getArrivedTime to getBrokerArrivalTime
- Renames Cloudlet.getArrivalTime to getDcArrivalTime
- Renames Vm.stopTime to Vm.finishTime to conform to Cloudlet.finishTime
- Renames Host.shutdownTime to finishTime
- Fix test failures
- Version bump to 8.2.0
Signed-off-by: Manoel Campos <[email protected]>
1 parent 77afad4 commit 38bf8b0
File tree
39 files changed
+712
-879
lines changed- docs/presentation
- js
- plugin/markdown
- src
- main/java/org/cloudsimplus
- brokers
- builders
- tables
- cloudlets
- core
- hosts
- schedulers/cloudlet
- traces/google
- vms
- network
- test/java/org/cloudsimplus
- cloudlets
- integrationtests
- schedulers/cloudlet
- utilizationmodels
- vms
39 files changed
+712
-879
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4542 | 4542 | | |
4543 | 4543 | | |
4544 | 4544 | | |
4545 | | - | |
4546 | | - | |
4547 | | - | |
4548 | 4545 | | |
4549 | 4546 | | |
4550 | 4547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | 404 | | |
406 | 405 | | |
407 | 406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
300 | | - | |
| 300 | + | |
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
533 | | - | |
| 533 | + | |
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
| |||
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
873 | | - | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
874 | 875 | | |
875 | 876 | | |
876 | 877 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 10 | + | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
105 | 102 | | |
106 | 103 | | |
107 | 104 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 105 | | |
114 | 106 | | |
115 | 107 | | |
| |||
166 | 158 | | |
167 | 159 | | |
168 | 160 | | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 161 | + | |
178 | 162 | | |
179 | 163 | | |
180 | 164 | | |
| |||
237 | 221 | | |
238 | 222 | | |
239 | 223 | | |
240 | | - | |
| 224 | + | |
241 | 225 | | |
242 | 226 | | |
243 | 227 | | |
| |||
428 | 412 | | |
429 | 413 | | |
430 | 414 | | |
431 | | - | |
432 | | - | |
| 415 | + | |
433 | 416 | | |
434 | 417 | | |
435 | | - | |
436 | | - | |
| 418 | + | |
437 | 419 | | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 420 | + | |
448 | 421 | | |
449 | 422 | | |
450 | 423 | | |
| |||
652 | 625 | | |
653 | 626 | | |
654 | 627 | | |
655 | | - | |
| 628 | + | |
656 | 629 | | |
657 | 630 | | |
658 | 631 | | |
659 | 632 | | |
660 | 633 | | |
661 | 634 | | |
662 | 635 | | |
| 636 | + | |
663 | 637 | | |
664 | | - | |
| 638 | + | |
665 | 639 | | |
666 | 640 | | |
667 | 641 | | |
| |||
745 | 719 | | |
746 | 720 | | |
747 | 721 | | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | | - | |
756 | | - | |
757 | | - | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
758 | 725 | | |
759 | | - | |
| 726 | + | |
| 727 | + | |
760 | 728 | | |
761 | 729 | | |
762 | | - | |
763 | | - | |
764 | | - | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
765 | 734 | | |
766 | | - | |
767 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
768 | 739 | | |
769 | | - | |
| 740 | + | |
| 741 | + | |
770 | 742 | | |
0 commit comments