hu.mta.sztaki.lpds.cloud.simulator
Class DeferredEvent
java.lang.Object
hu.mta.sztaki.lpds.cloud.simulator.Timed
hu.mta.sztaki.lpds.cloud.simulator.DeferredEvent
- All Implemented Interfaces:
- Comparable<Timed>
- Direct Known Subclasses:
- PhysicalMachine.PowerStateDelayer, PhysicalMachine.ResourceAllocation
public abstract class DeferredEvent
- extends Timed
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 |
cancelled
private boolean cancelled
DeferredEvent
public DeferredEvent(long delay)
tick
public void tick(long fires)
- Specified by:
tick
in class Timed
cancel
public void cancel()
isCancelled
public boolean isCancelled()
eventAction
protected abstract void eventAction()
Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.