UtilizationModelNull

final class UtilizationModelNull implements UtilizationModel

A class that implements the Null Object Design Pattern for UtilizationModel class. A Cloudlet using such a utilization model for one of its resources will not consume any amount of that resource ever.

Author:Manoel Campos da Silva Filho

See also: UtilizationModel.NULL

Methods

getSimulation

public Simulation getSimulation()

getUnit

public Unit getUnit()

getUtilization

public double getUtilization(double time)

getUtilization

public double getUtilization()

setSimulation

public UtilizationModel setSimulation(Simulation simulation)