hu.mta.sztaki.lpds.cloud.simulator.energy.specialized
Class IaaSEnergyMeter
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.Timed
hu.mta.sztaki.lpds.cloud.simulator.energy.EnergyMeter
hu.mta.sztaki.lpds.cloud.simulator.energy.AggregatedEnergyMeter
hu.mta.sztaki.lpds.cloud.simulator.energy.specialized.IaaSEnergyMeter
- All Implemented Interfaces:
- VMManager.CapacityChangeEvent<PhysicalMachine>, Comparable<Timed>
public class IaaSEnergyMeter
- extends AggregatedEnergyMeter
- implements VMManager.CapacityChangeEvent<PhysicalMachine>
Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.Timed |
calcTimeJump, compareTo, fire, getFireCount, getFrequency, getNextEvent, getNextFire, isSubscribed, jumpTime, nextEventDistance, resetTimed, setBackPreference, simulateUntil, simulateUntilLastEvent, skipEventsTill, subscribe, toString, unsubscribe, updateFrequency |
observed
private final IaaSService observed
oldCapacity
private ResourceConstraints oldCapacity
IaaSEnergyMeter
public IaaSEnergyMeter(IaaSService iaas)
subMeterCreator
private static List<EnergyMeter> subMeterCreator(List<PhysicalMachine> machines)
capacityChanged
public void capacityChanged(ResourceConstraints newCapacity,
List<PhysicalMachine> affectedCapacity)
- Specified by:
capacityChanged
in interface VMManager.CapacityChangeEvent<PhysicalMachine>
getObserved
public IaaSService getObserved()
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.