HorizontalVmScalingSimple¶
-
public class
HorizontalVmScalingSimple
extends VmScalingAbstract implements HorizontalVmScaling¶ A
HorizontalVmScaling
implementation that allows defining the condition to identify an overloaded VM, based on any desired criteria, such as current RAM, CPU and/or Bandwidth utilization. ADatacenterBroker
monitors the VMs that have an HorizontalVmScaling object in order to create or destroy VMs on demand.The overload condition has to be defined by providing a
Predicate
using thesetOverloadPredicate(Predicate)
method. Check theHorizontalVmScaling
documentation for details on how to enable horizontal down scaling using theDatacenterBroker
.Author: Manoel Campos da Silva Filho See also:
HorizontalVmScaling
Methods¶
requestUpScalingIfPredicateMatches¶
-
public final boolean
requestUpScalingIfPredicateMatches
(VmHostEventInfo evt)¶
setVmSupplier¶
-
public final HorizontalVmScaling
setVmSupplier
(Supplier<Vm> supplier)¶