Class ServiceOwnedPattern

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
All Implemented Interfaces:
IPatternLifeCycleHooks
Direct Known Subclasses:
PeriodicServiceOwnedPattern, StrategicServiceOwnedPattern

public abstract class ServiceOwnedPattern extends NamedEntity implements IPatternLifeCycleHooks
Resilience Pattern that is owned by a Microservice. These patterns should represent mechanics that live on a meta-level, such as scaling.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Microservice
     

    Fields inherited from class desmoj.core.simulator.Schedulable

    _schedule
  • Constructor Summary

    Constructors
    Constructor
    Description
    ServiceOwnedPattern(desmoj.core.simulator.Model model, String name, boolean showInTrace)
     
  • Method Summary

    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

    onInitializedCompleted, shutdown, start
  • Field Details

  • Constructor Details

    • ServiceOwnedPattern

      public ServiceOwnedPattern(desmoj.core.simulator.Model model, String name, boolean showInTrace)