hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling
Class RandomScheduler
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.FirstFitScheduler
hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.RandomScheduler
public class RandomScheduler
- extends FirstFitScheduler
Provides a scheduler that uses the random PM iterator to traverse through the
IaaS's running machines list. This ensures uniform use of the PMs on the long
run. Other than the random PM selection this class utilizes the
FirstFitScheduler's logic of VM placement and queue management.
- Author:
- "Gabor Kecskemeti, Laboratory of Parallel and Distributed Systems,
MTA SZTAKI (c) 2015"
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomScheduler
public RandomScheduler(IaaSService parent)
- Passes the IaaSService further to its super class.
- Parameters:
parent
- the IaaS Service which this RandomScheduler operates on
instantiateIterator
protected PMIterator instantiateIterator()
- Returns with the Random PM iterator.
- Overrides:
instantiateIterator
in class FirstFitScheduler
- Returns:
- the desired PM iterator to be used for traversing the PMs while
doing the scheduling
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.