Interface CompetingConsumersGroup

All Superinterfaces:
org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, org.palladiosimulator.pcm.core.entity.Entity, EObject, de.uka.ipd.sdq.identifier.Identifier, org.palladiosimulator.pcm.core.entity.NamedElement, Notifier, org.palladiosimulator.pcm.PCMBaseClass, org.palladiosimulator.pcm.PCMClass, TargetGroup
All Known Implementing Classes:
CompetingConsumersGroupImpl

public interface CompetingConsumersGroup extends TargetGroup
A representation of the model object 'Competing Consumers Group'. The CompetingConsumersGroup represents a set of elements that consume messages from a channel/queue asynchronously. In SPD and Palladio it is represented as a set of assembly context that deplete a queue modelled through a PassiveResource. The intention of use behind CompetingConsumersGroup is to represent services that asynchronously process workload by fetching messages from a queue. For understanding the pattern itself one can read https://www.enterpriseintegrationpatterns.com/patterns/messaging/CompetingConsumers.html.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Field Summary

    Fields inherited from interface org.palladiosimulator.pcm.core.entity.Entity

    copyright
  • Method Summary

    Modifier and Type
    Method
    Description
    org.palladiosimulator.pcm.core.composition.AssemblyContext
    Returns the value of the 'Unit Assembly' reference.
    void
    setUnitAssembly(org.palladiosimulator.pcm.core.composition.AssemblyContext value)
    Sets the value of the 'Unit Assembly' reference.

    Methods inherited from interface org.eclipse.emf.cdo.CDOObject

    cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOption

    Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier

    getId, setId

    Methods inherited from interface org.palladiosimulator.pcm.core.entity.NamedElement

    getEntityName, setEntityName

    Methods inherited from interface org.eclipse.emf.common.notify.Notifier

    eAdapters, eDeliver, eNotify, eSetDeliver

    Methods inherited from interface org.palladiosimulator.spd.targets.TargetGroup

    getTargetConstraints
  • Method Details

    • getUnitAssembly

      org.palladiosimulator.pcm.core.composition.AssemblyContext getUnitAssembly()
      Returns the value of the 'Unit Assembly' reference. The unitAssembly of the CompetingConsumersGroup identifies the AssemblyContext which exists in the System model and which shall be replicated upon scaling out. Furthermore, the unit assembly is the one which will exist throughout the simulation independent of the adaptations.
      Returns:
      the value of the 'Unit Assembly' reference.
      See Also:
      Generated class or method.
      EMF model class or method.
    • setUnitAssembly

      void setUnitAssembly(org.palladiosimulator.pcm.core.composition.AssemblyContext value)
      Sets the value of the 'Unit Assembly' reference.
      Parameters:
      value - the new value of the 'Unit Assembly' reference.
      See Also:
      Generated class or method.