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
ownerFields 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 PeriodicPatternSchedulervoidonInitializedCompleted(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, renameMethods 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, setQueueingPriorityMethods inherited from class desmoj.core.simulator.Schedulable
assignReporter, cancel, getCorrespondingReportable, isCurrent, isScheduled, reSchedule, reSchedule, reSchedulePreempt, scheduledNext, setCorrespondingReportableMethods 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, traceOnMethods inherited from class desmoj.core.simulator.NamedObject
getName, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface cambio.simulator.entities.patterns.IPatternLifeCycleHooks
startMethods 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:IPatternLifeCycleHooksWill be called after completion of the initialization right after the config was injected.- Specified by:
onInitializedCompletedin interfaceIPatternLifeCycleHooks
-
getScheduler
- Specified by:
getSchedulerin interfaceIPeriodicPattern
-