public interface SchedulerExtensionFactory
| Modifier and Type | Method and Description |
|---|---|
IActiveResource |
getExtensionScheduler(SchedulerModel model,
String resourceName,
String resourceId,
long numberOfCores)
This interface has to be implemented by a scheduler factory that contributes schedulers to
the Palladio simulation.
|
IActiveResource getExtensionScheduler(SchedulerModel model, String resourceName, String resourceId, long numberOfCores)
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.