hu.mta.sztaki.lpds.cloud.simulator.iaas
Interface VMManager.CapacityChangeEvent<F>

Type Parameters:
F - the kind of capacity that changes
All Known Implementing Classes:
IaaSEnergyMeter, PhysicalMachineEnergyMeter, SchedulingDependentMachines.CapacityChangeManager, SimpleVMEnergyMeter
Enclosing interface:
VMManager<E,F>

public static interface VMManager.CapacityChangeEvent<F>

The interface to implement for those events where a VMManager object changes its capacity.

Author:
Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013

Method Summary
 void capacityChanged(ResourceConstraints newCapacity, List<F> affectedCapacity)
          This function is called by the object that has changed its capacities
 

Method Detail

capacityChanged

void capacityChanged(ResourceConstraints newCapacity,
                     List<F> affectedCapacity)
This function is called by the object that has changed its capacities

Parameters:
newCapacity - the size of the new capacity in terms of physical resources
affectedCapacity - the list of those objects (representing the computing capacity of the particular VMManager) that were added/removed during the change


Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.