hu.mta.sztaki.lpds.cloud.simulator.iaas
Class PhysicalMachine.PowerStateDelayer

java.lang.Object
  extended by hu.mta.sztaki.lpds.cloud.simulator.Timed
      extended by hu.mta.sztaki.lpds.cloud.simulator.DeferredEvent
          extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.PhysicalMachine.PowerStateDelayer
All Implemented Interfaces:
Comparable<Timed>
Enclosing class:
PhysicalMachine

public class PhysicalMachine.PowerStateDelayer
extends DeferredEvent


Field Summary
(package private)  PhysicalMachine.State newState
           
 
Constructor Summary
PhysicalMachine.PowerStateDelayer(int delay, PhysicalMachine.State newPowerState)
           
 
Method Summary
protected  void eventAction()
           
 
Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.DeferredEvent
cancel, isCancelled, tick
 
Methods inherited from class hu.mta.sztaki.lpds.cloud.simulator.Timed
compareTo, fire, getFireCount, getFrequency, getNextEvent, getNextFire, isSubscribed, jumpTime, nextEventDistance, resetTimed, setBackPreference, simulateUntil, simulateUntilLastEvent, skipEventsTill, subscribe, toString, unsubscribe, updateFrequency
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

newState

final PhysicalMachine.State newState
Constructor Detail

PhysicalMachine.PowerStateDelayer

public PhysicalMachine.PowerStateDelayer(int delay,
                                         PhysicalMachine.State newPowerState)
Method Detail

eventAction

protected void eventAction()
Specified by:
eventAction in class DeferredEvent


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