DatacenterCharacteristicsNull

final class DatacenterCharacteristicsNull implements DatacenterCharacteristics

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

Author:Manoel Campos da Silva Filho

See also: DatacenterCharacteristics.NULL

Methods

getArchitecture

public String getArchitecture()

getCostPerBw

public double getCostPerBw()

getCostPerMem

public double getCostPerMem()

getCostPerSecond

public double getCostPerSecond()

getCostPerStorage

public double getCostPerStorage()

getDatacenter

public Datacenter getDatacenter()

getId

public long getId()

getMips

public double getMips()

getNumberOfFailedHosts

public long getNumberOfFailedHosts()

getNumberOfFreePes

public int getNumberOfFreePes()

getNumberOfPes

public int getNumberOfPes()

getOs

public String getOs()

getTimeZone

public double getTimeZone()

getVmm

public String getVmm()

isWorking

public boolean isWorking()

setArchitecture

public DatacenterCharacteristics setArchitecture(String arch)

setCostPerBw

public DatacenterCharacteristics setCostPerBw(double cost)

setCostPerMem

public DatacenterCharacteristics setCostPerMem(double cost)

setCostPerSecond

public DatacenterCharacteristics setCostPerSecond(double cost)

setCostPerStorage

public DatacenterCharacteristics setCostPerStorage(double cost)

setOs

public DatacenterCharacteristics setOs(String os)

setTimeZone

public DatacenterCharacteristics setTimeZone(double timeZone)

setVmm

public DatacenterCharacteristics setVmm(String vmm)