CloudletSchedulerNull

final class CloudletSchedulerNull implements CloudletScheduler

A class that implements the Null Object Design Pattern for CloudletScheduler class.

Author:Manoel Campos da Silva Filho

See also: CloudletScheduler.NULL

Methods

addCloudletToReturnedList

public void addCloudletToReturnedList(Cloudlet cloudlet)

cloudletCancel

public Cloudlet cloudletCancel(Cloudlet cloudlet)

cloudletFail

public Cloudlet cloudletFail(Cloudlet cloudlet)

cloudletPause

public boolean cloudletPause(Cloudlet cloudlet)

cloudletReady

public boolean cloudletReady(Cloudlet cloudlet)

cloudletResume

public double cloudletResume(Cloudlet cloudlet)

cloudletSubmit

public double cloudletSubmit(Cloudlet cloudlet, double fileTransferTime)

cloudletSubmit

public double cloudletSubmit(Cloudlet cloudlet)

deallocatePesFromVm

public void deallocatePesFromVm(int pesToRemove)

getCloudletExecList

public List<CloudletExecution> getCloudletExecList()

getCloudletFinishedList

public List<CloudletExecution> getCloudletFinishedList()

getCloudletList

public List<Cloudlet> getCloudletList()

getCloudletWaitingList

public List<CloudletExecution> getCloudletWaitingList()

getCurrentRequestedBwPercentUtilization

public double getCurrentRequestedBwPercentUtilization()

getCurrentRequestedRamPercentUtilization

public double getCurrentRequestedRamPercentUtilization()

getFreePes

public long getFreePes()

getPreviousTime

public double getPreviousTime()

getRequestedCpuPercentUtilization

public double getRequestedCpuPercentUtilization(double time)

getTaskScheduler

public CloudletTaskScheduler getTaskScheduler()

getUsedPes

public long getUsedPes()

getVm

public Vm getVm()

hasFinishedCloudlets

public boolean hasFinishedCloudlets()

isCloudletReturned

public boolean isCloudletReturned(Cloudlet cloudlet)

isEmpty

public boolean isEmpty()

isThereTaskScheduler

public boolean isThereTaskScheduler()

setTaskScheduler

public void setTaskScheduler(CloudletTaskScheduler taskScheduler)

setVm

public void setVm(Vm vm)

updateProcessing

public double updateProcessing(double currentTime, List<Double> mipsShare)