Class PreemptiveProcess
java.lang.Object
de.uka.ipd.sdq.simulation.abstractsimengine.SimulationElement
de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
de.uka.ipd.sdq.scheduler.entities.SchedulerEntity
edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.processes.impl.ActiveProcess
edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.processes.impl.PreemptiveProcess
- All Implemented Interfaces:
de.uka.ipd.sdq.scheduler.IRunningProcess
,de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
,IActiveProcess
- Direct Known Subclasses:
ProcessWithPriority
-
Field Summary
Fields inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
delegate
Fields inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
NULL
-
Constructor Summary
ConstructorDescriptionPreemptiveProcess
(de.uka.ipd.sdq.scheduler.SchedulerModel model, de.uka.ipd.sdq.scheduler.ISchedulableProcess process) -
Method Summary
Modifier and TypeMethodDescriptioncreateNewInstance
(de.uka.ipd.sdq.scheduler.ISchedulableProcess process) protected void
passTimeProcessing
(double passedTime) void
setTimeSlice
(ITimeSlice timeslice) toString()
Methods inherited from class edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.processes.impl.ActiveProcess
addStateSensor, cancelProceedEvent, checkAffinity, createNewInstance, equals, getCurrentDemand, getId, getIdealInstance, getLastInstance, getName, getRunQueue, getSchedulableProcess, getState, getTimeUntilNextInterruption, hasAffinityList, hashCode, hasIdealInstance, hasLastInstance, isIdealInstance, isLastInstance, isMovable, isReady, isRunning, isWaiting, removeNonAffineInstances, removeStateSensor, scheduleProceedEvent, setAffineInstances, setCurrentDemand, setDelayedAction, setIdealInstance, setLastInstance, setReady, setRunning, setRunQueue, setState, setWaiting, toNow, update, wasMovedTo
Methods inherited from class de.uka.ipd.sdq.scheduler.entities.SchedulerEntity
getModel
Methods inherited from class de.uka.ipd.sdq.simulation.abstractsimengine.AbstractSimEntityDelegator
getEncapsulatedEntity, isScheduled, reschedule
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.uka.ipd.sdq.simulation.abstractsimengine.IEntity
isScheduled, reschedule
-
Constructor Details
-
PreemptiveProcess
public PreemptiveProcess(de.uka.ipd.sdq.scheduler.SchedulerModel model, de.uka.ipd.sdq.scheduler.ISchedulableProcess process)
-
-
Method Details
-
passTimeProcessing
protected void passTimeProcessing(double passedTime) - Overrides:
passTimeProcessing
in classActiveProcess
-
getTimeslice
-
setTimeSlice
-
toString
- Overrides:
toString
in classActiveProcess
-
createNewInstance
- Specified by:
createNewInstance
in interfaceIActiveProcess
- Overrides:
createNewInstance
in classActiveProcess
-