UtilizationHistoryNull

final class UtilizationHistoryNull implements UtilizationHistory

A class that implements the Null Object Design Pattern for UtilizationHistory objects.

Author:Manoel Campos da Silva Filho

See also: UtilizationHistory.NULL

Methods

addUtilizationHistory

public void addUtilizationHistory(double time)

disable

public void disable()

enable

public void enable()

getHistory

public SortedMap<Double, Double> getHistory()

getMaxHistoryEntries

public int getMaxHistoryEntries()

getUtilizationMad

public double getUtilizationMad()

getUtilizationMean

public double getUtilizationMean()

getUtilizationVariance

public double getUtilizationVariance()

getVm

public Vm getVm()

isEnabled

public boolean isEnabled()

setMaxHistoryEntries

public void setMaxHistoryEntries(int maxHistoryEntries)