Class MicroserviceScaleEvent
java.lang.Object
desmoj.core.simulator.NamedObject
desmoj.core.simulator.ModelComponent
desmoj.core.simulator.Schedulable
desmoj.core.simulator.EventAbstract
desmoj.core.simulator.ExternalEvent
cambio.simulator.entities.NamedExternalEvent
cambio.simulator.entities.microservice.MicroserviceScaleEvent
For now this is an unused event to represent the scaling of a microservice.
- Author:
- Lion Wagner
-
Field Summary
Fields inherited from class desmoj.core.simulator.EventAbstract
numberOfEntitiesFields inherited from class desmoj.core.simulator.Schedulable
_schedule -
Constructor Summary
ConstructorsConstructorDescriptionMicroserviceScaleEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Microservice microservice, int targetInstanceCount) Creates a new scaling event. -
Method Summary
Methods inherited from class cambio.simulator.entities.NamedExternalEvent
eventRoutine, getPlainName, getQuotedName, getQuotedPlainName, renameMethods inherited from class desmoj.core.simulator.ExternalEvent
clone, schedule, schedule, schedule, schedule, scheduleAfter, scheduleBefore, schedulePreemptMethods inherited from class desmoj.core.simulator.EventAbstract
generateTraceForScheduling, getNumberOfEntities, getRealTimeConstraint, getSchedulingPriority, isExternal, setRealTimeConstraint, setSchedulingPriorityMethods 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, toString
-
Constructor Details
-
MicroserviceScaleEvent
public MicroserviceScaleEvent(desmoj.core.simulator.Model model, String name, boolean showInTrace, Microservice microservice, int targetInstanceCount) Creates a new scaling event.
-
-
Method Details
-
onRoutineExecution
public void onRoutineExecution() throws co.paralleluniverse.fibers.SuspendExecution- Specified by:
onRoutineExecutionin classNamedExternalEvent- Throws:
co.paralleluniverse.fibers.SuspendExecution
-