HorizontalVmScalingNull

final class HorizontalVmScalingNull implements HorizontalVmScaling

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

Author:Manoel Campos da Silva Filho

See also: HorizontalVmScaling.NULL

Methods

getOverloadPredicate

public Predicate<Vm> getOverloadPredicate()

getVm

public Vm getVm()

getVmSupplier

public Supplier<Vm> getVmSupplier()

requestUpScalingIfPredicateMatches

public boolean requestUpScalingIfPredicateMatches(VmHostEventInfo evt)

setOverloadPredicate

public VmScaling setOverloadPredicate(Predicate<Vm> predicate)

setVm

public VmScaling setVm(Vm vm)

setVmSupplier

public HorizontalVmScaling setVmSupplier(Supplier<Vm> supplier)