Class PeriodicServiceOwnedPattern
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.Entity
cambio.simulator.entities.NamedEntity
cambio.simulator.entities.patterns.ServiceOwnedPattern
cambio.simulator.entities.patterns.PeriodicServiceOwnedPattern
- All Implemented Interfaces:
IPatternLifeCycleHooks
,IPeriodicPattern
public abstract class PeriodicServiceOwnedPattern
extends ServiceOwnedPattern
implements IPeriodicPattern
A service owned pattern that is automatically triggered periodically.
- Author:
- Lion Wagner
-
Field Summary
Fields inherited from class cambio.simulator.entities.patterns.ServiceOwnedPattern
owner
Fields inherited from class desmoj.core.simulator.Schedulable
_schedule
-
Constructor Summary
ConstructorsConstructorDescriptionPeriodicServiceOwnedPattern
(desmoj.core.simulator.Model model, String name, boolean showInTrace) -
Method Summary
Modifier and TypeMethodDescriptionfinal PeriodicPatternScheduler
void
onInitializedCompleted
(desmoj.core.simulator.Model model) Will be called after completion of the initialization right after the config was injected.Methods inherited from class cambio.simulator.entities.NamedEntity
getPlainName, getQuotedName, getQuotedPlainName, rename
Methods inherited from class desmoj.core.simulator.Entity
clone, generateTraceForScheduling, getIdentNumber, getQueueingPriority, getQueues, getScheduledEvents, isEqual, isLarger, isLargerOrEqual, isNotEqual, isQueued, isSimProcess, isSmaller, isSmallerOrEqual, schedule, schedule, schedule, schedule, schedule, schedule, schedule, schedule, schedule, scheduleAfter, scheduleAfter, scheduleAfter, scheduleBefore, scheduleBefore, scheduleBefore, schedulePreempt, schedulePreempt, schedulePreempt, setQueueingPriority
Methods inherited from class desmoj.core.simulator.Schedulable
assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportable
Methods inherited from class desmoj.core.simulator.ModelComponent
current, currentEntity, currentEntityAll, currentEvent, currentlySendDebugNotes, currentlySendTraceNotes, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
Methods inherited from class desmoj.core.simulator.NamedObject
getName, toString
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface cambio.simulator.entities.patterns.IPatternLifeCycleHooks
start
Methods inherited from interface cambio.simulator.entities.patterns.IPeriodicPattern
onTriggered, shutdown, trigger
-
Constructor Details
-
PeriodicServiceOwnedPattern
public PeriodicServiceOwnedPattern(desmoj.core.simulator.Model model, String name, boolean showInTrace)
-
-
Method Details
-
onInitializedCompleted
public void onInitializedCompleted(desmoj.core.simulator.Model model) Description copied from interface:IPatternLifeCycleHooks
Will be called after completion of the initialization right after the config was injected.- Specified by:
onInitializedCompleted
in interfaceIPatternLifeCycleHooks
-
getScheduler
- Specified by:
getScheduler
in interfaceIPeriodicPattern
-