hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling
Class FirstFitScheduler

java.lang.Object
  extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
      extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.FirstFitScheduler
Direct Known Subclasses:
NonQueueingScheduler, RandomScheduler, RoundRobinScheduler, SmallestFirstScheduler

public class FirstFitScheduler
extends Scheduler


Nested Class Summary
 
Nested classes/interfaces inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
Scheduler.QueueingEvent
 
Field Summary
private  PMIterator it
           
(package private)  PhysicalMachine.ResourceAllocation raBiggestNotSuitable
           
(package private)  PhysicalMachine.ResourceAllocation[] ras
           
 
Fields inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
freeCapacity, parent, pmComparator, pmstateChanged, publicTQ, queue, totalQueued
 
Constructor Summary
FirstFitScheduler(IaaSService parent)
           
 
Method Summary
protected  PMIterator getPMIterator()
           
protected  ConstantConstraints scheduleQueued()
           
 
Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.iaas.vmscheduling.Scheduler
dropVMrequest, getQueuedVMs, getQueueLength, getTotalQueued, manageQueueRemoval, manageQueueRemoval, notifyListeners, scheduleVMrequest, subscribeQueueingEvents, unsubscribeQueueingEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ras

PhysicalMachine.ResourceAllocation[] ras

raBiggestNotSuitable

PhysicalMachine.ResourceAllocation raBiggestNotSuitable

it

private final PMIterator it
Constructor Detail

FirstFitScheduler

public FirstFitScheduler(IaaSService parent)
Method Detail

getPMIterator

protected PMIterator getPMIterator()

scheduleQueued

protected ConstantConstraints scheduleQueued()
Specified by:
scheduleQueued in class Scheduler


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