Package de.uka.ipd.sdq.scheduler.factory
Interface SchedulerExtensionFactory
public interface SchedulerExtensionFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetExtensionScheduler
(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.
-
Method Details
-
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 extensionresourceId
- 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
-