Interface SchedulerExtensionFactory


  • public interface SchedulerExtensionFactory
    • Method Detail

      • getExtensionScheduler

        IActiveResource getExtensionScheduler​(SchedulerModel model,
                                              String resourceName,
                                              String resourceId,
                                              long numberOfCores,
                                              IResourceTableManager resourceTableManager)
        This interface has to be implemented by a scheduler factory that contributes schedulers to the Palladio simulation.
        Parameters:
        model - the SchedulerModel of the simulation. Contains initial simulation configuration, but is mainly passed because it is needed by SimuCom's AbstractActiveResource constructor.
        resourceName - the name of the scheduler. This should conform to the id of the scheduler extension
        resourceId - the id of the resource. Multiple resources sharing the same scheduler have different resource ids.
        Returns:
        the resource with the corresponding scheduler for the simulation