Class SQSeize

    • Constructor Detail

      • SQSeize

        public SQSeize​(ModelElement parent,
                       java.lang.String name)
    • Method Detail

      • queueEntity

        protected void queueEntity​(Entity entity)
        Description copied from class: SeizeResources
        Subclasses need to implement a mechanism to hold entities that are waiting for resources
        Specified by:
        queueEntity in class SeizeResources
      • selectNextEntity

        protected Entity selectNextEntity()
        Description copied from class: SeizeResources
        Subclasses need to implement a mechanism to select the next entity from whatever mechanism is being used to hold the entities waiting for resources. The entity should not be removed from the underlying holding mechanism. If null is returned, then no entities can be selected
        Specified by:
        selectNextEntity in class SeizeResources
        Returns:
      • removeEntity

        protected void removeEntity​(Entity entity)
        Description copied from class: SeizeResources
        Subclasses need to implement a mechanism to remove the an entity (e.g. selectNextEntity()) from whatever mechanism being used to hold the entities waiting for resources.
        Specified by:
        removeEntity in class SeizeResources
        Parameters:
        entity - the entity to be removed