Uses of Class
org.cloudbus.cloudsim.cloudlets.CloudletExecution
Package
Description
Provides
CloudletScheduler
implementations that are used to schedule the execution of multiple
Cloudlet
inside a given
Vm
.-
Uses of CloudletExecution in org.cloudbus.cloudsim.cloudlets
Modifier and TypeFieldDescriptionstatic final CloudletExecution
CloudletExecution.NULL
A property that implements the Null Object Design Pattern forCloudletExecution
objects. -
Uses of CloudletExecution in org.cloudbus.cloudsim.schedulers.cloudlet
Modifier and TypeMethodDescriptionprotected CloudletExecution
CloudletSchedulerAbstract.addWaitingCloudletToExecList
(CloudletExecution cle) Removes a Cloudlet from waiting list and adds it to the exec list.protected CloudletExecution
CloudletSchedulerAbstract.removeCloudletFromExecList
(CloudletExecution cle) Removes a Cloudlet from the list of cloudlets in execution.Modifier and TypeMethodDescriptionprotected Optional<CloudletExecution>
CloudletSchedulerAbstract.findCloudletInAllLists
(double cloudletId) Search for a Cloudlet into all Cloudlet lists.protected Optional<CloudletExecution>
CloudletSchedulerAbstract.findCloudletInList
(Cloudlet cloudlet, List<CloudletExecution> list) Search for a Cloudlet into a given list.protected Optional<CloudletExecution>
CloudletSchedulerAbstract.findSuitableWaitingCloudlet()
Try to find the first Cloudlet in the waiting list that the number of required PEs is not higher than the number of free PEs.protected Optional<CloudletExecution>
CloudletSchedulerCompletelyFair.findSuitableWaitingCloudlet()
Try to find the first Cloudlet in the waiting list that the number of required PEs is not higher than the number of free PEs.CloudletScheduler.getCloudletExecList()
Gets a read-only List of cloudlets being executed on the VM.CloudletSchedulerAbstract.getCloudletExecList()
CloudletSchedulerCompletelyFair.getCloudletExecList()
Gets a read-only List of cloudlets being executed on the VM.protected List<CloudletExecution>
CloudletSchedulerAbstract.getCloudletFailedList()
Gets the list of failed cloudlets.CloudletScheduler.getCloudletFinishedList()
Gets a list of finished cloudlets.CloudletSchedulerAbstract.getCloudletFinishedList()
protected List<CloudletExecution>
CloudletSchedulerAbstract.getCloudletPausedList()
Gets the list of paused cloudlets.CloudletScheduler.getCloudletWaitingList()
Gets a read-only List of cloudlet waiting to be executed on the VM.CloudletSchedulerAbstract.getCloudletWaitingList()
CloudletSchedulerCompletelyFair.getCloudletWaitingList()
Gets a read-only list of Cloudlets which are waiting to run, the so called run queue.CloudletSchedulerTimeShared.getCloudletWaitingList()
Gets a read-only List of cloudlet waiting to be executed on the VM.Modifier and TypeMethodDescriptionprotected void
CloudletSchedulerAbstract.addCloudletToExecList
(CloudletExecution cle) Adds a Cloudlet to the list of cloudlets in execution.protected void
CloudletSchedulerAbstract.addCloudletToWaitingList
(CloudletExecution cle) protected CloudletExecution
CloudletSchedulerAbstract.addWaitingCloudletToExecList
(CloudletExecution cle) Removes a Cloudlet from waiting list and adds it to the exec list.protected abstract boolean
CloudletSchedulerAbstract.canExecuteCloudletInternal
(CloudletExecution cle) protected boolean
CloudletSchedulerCompletelyFair.canExecuteCloudletInternal
(CloudletExecution cloudlet) Checks if a Cloudlet can be submitted to the execution list.protected boolean
CloudletSchedulerSpaceShared.canExecuteCloudletInternal
(CloudletExecution cle) The space-shared scheduler does not share the CPU time between executing cloudlets.protected boolean
CloudletSchedulerTimeShared.canExecuteCloudletInternal
(CloudletExecution cloudlet) This time-shared scheduler shares the CPU time between all executing cloudlets, giving the same CPU time-slice for each Cloudlet to execute.protected double
CloudletSchedulerAbstract.cloudletEstimatedFinishTime
(CloudletExecution cle, double currentTime) Gets the estimated time when a given cloudlet is supposed to finish executing.protected void
CloudletSchedulerAbstract.cloudletFinish
(CloudletExecution cle) Processes a finished cloudlet.protected double
CloudletSchedulerAbstract.cloudletSubmitInternal
(CloudletExecution cle, double fileTransferTime) Receives the execution information of a Cloudlet to be executed in the VM managed by this scheduler.protected double
CloudletSchedulerCompletelyFair.cloudletSubmitInternal
(CloudletExecution cle, double fileTransferTime) Receives the execution information of a Cloudlet to be executed in the VM managed by this scheduler.double
CloudletSchedulerAbstract.getAllocatedMipsForCloudlet
(CloudletExecution cle, double time) Gets the current allocated MIPS for cloudlet.double
CloudletSchedulerAbstract.getAllocatedMipsForCloudlet
(CloudletExecution cle, double time, boolean log) Gets the current allocated MIPS for cloudlet.protected double
CloudletSchedulerAbstract.getRequestedMipsForCloudlet
(CloudletExecution cle, double time) Gets the current requested MIPS for a given cloudlet.protected boolean
CloudletSchedulerAbstract.isThereEnoughFreePesForCloudlet
(CloudletExecution cle) Checks if the amount of PEs required by a given Cloudlet is free to use.protected CloudletExecution
CloudletSchedulerAbstract.removeCloudletFromExecList
(CloudletExecution cle) Removes a Cloudlet from the list of cloudlets in execution.protected double
CloudletSchedulerAbstract.timeSpan
(CloudletExecution cle, double currentTime) Computes the time span between the current simulation time and the last time the processing of a cloudlet was updated.protected long
CloudletSchedulerAbstract.updateCloudletProcessing
(CloudletExecution cle, double currentTime) Updates the processing of a specific cloudlet of the Vm using this scheduler.long
CloudletSchedulerCompletelyFair.updateCloudletProcessing
(CloudletExecution cle, double currentTime) Modifier and TypeMethodDescriptionprotected Optional<CloudletExecution>
CloudletSchedulerAbstract.findCloudletInList
(Cloudlet cloudlet, List<CloudletExecution> list) Search for a Cloudlet into a given list.protected void
CloudletSchedulerAbstract.sortCloudletWaitingList
(Comparator<CloudletExecution> comparator) Sorts theCloudletSchedulerAbstract.cloudletWaitingList
using a givenComparator
.