hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling
Class AlwaysOnMachines
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling.PhysicalMachineController
hu.mta.sztaki.lpds.cloud.simulator.iaas.pmscheduling.AlwaysOnMachines
public class AlwaysOnMachines
- extends PhysicalMachineController
This PM controller ensures that all newly registered PMs are switched on
immediately and newer turned off again.
WARNING: using this PM controller does not guarantee that all the PMs
will be switched on in a given time instance. There are transient cases when
a just registered PM is not yet turned on completely.
- Author:
- "Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013"
"Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems, MTA SZTAKI (c) 2012"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlwaysOnMachines
public AlwaysOnMachines(IaaSService parent)
- Constructs the scheduler and passes the parent IaaSService to the
superclass.
- Parameters:
parent
- the IaaSService to serve
getHostRegEvent
protected VMManager.CapacityChangeEvent<PhysicalMachine> getHostRegEvent()
- When a new PM is registered to the IaaS service the below controller
automatically turns it on.
WARNING if one independently switches off a PM while it is
registered with the IaaS service, this controller will not turn it on
again.
- Specified by:
getHostRegEvent
in class PhysicalMachineController
- Returns:
- the object to handle the registration events
getQueueingEvent
protected Scheduler.QueueingEvent getQueueingEvent()
- Describes an event handler that does nothing upon the start of VM
queueing. This PM controller would not have anything to do anyway as all
the PMs in the iaas are ensured to be on all the time.
- Specified by:
getQueueingEvent
in class PhysicalMachineController
- Returns:
- the object to handle the VM scheduling related events
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.