VmSchedulerNull

final class VmSchedulerNull implements VmScheduler

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

Author:Manoel Campos da Silva Filho

See also: VmScheduler.NULL

Methods

allocatePesForVm

public boolean allocatePesForVm(Vm vm, List<Double> requestedMips)

allocatePesForVm

public boolean allocatePesForVm(Vm vm)

deallocatePesForAllVms

public void deallocatePesForAllVms()

deallocatePesFromVm

public void deallocatePesFromVm(Vm vm)

deallocatePesFromVm

public void deallocatePesFromVm(Vm vm, int pesToRemove)

getAllocatedMips

public List<Double> getAllocatedMips(Vm vm)

getAvailableMips

public double getAvailableMips()

getHost

public Host getHost()

getMaxAvailableMips

public double getMaxAvailableMips()

getMaxCpuUsagePercentDuringOutMigration

public double getMaxCpuUsagePercentDuringOutMigration()

getPeCapacity

public long getPeCapacity()

getRequestedMips

public List<Double> getRequestedMips(Vm vm)

getTotalAllocatedMipsForVm

public double getTotalAllocatedMipsForVm(Vm vm)

getVmMigrationCpuOverhead

public double getVmMigrationCpuOverhead()

getWorkingPeList

public <T extends Pe> List<T> getWorkingPeList()

isSuitableForVm

public boolean isSuitableForVm(Vm vm)

isSuitableForVm

public boolean isSuitableForVm(Vm vm, boolean showLog)

isSuitableForVm

public boolean isSuitableForVm(Vm vm, List<Double> requestedMips)

isSuitableForVm

public boolean isSuitableForVm(Vm vm, List<Double> requestedMips, boolean showLog)

setHost

public VmScheduler setHost(Host host)