Package de.uka.ipd.sdq.scheduler.factory
Class SchedulingFactory
java.lang.Object
de.uka.ipd.sdq.scheduler.factory.SchedulingFactory
- All Implemented Interfaces:
ISchedulingFactory
Creates instances of active and passive resources with different scheduling strategies.
-
Constructor Summary
ConstructorDescriptionSchedulingFactory
(SchedulerModel model, IResourceTableManager resourceTableManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createResourceFromExtension
(String extensionId, String resourceId, long numberOfCores) createSimDelayResource
(String resourceName, String resourceId) createSimFCFSResource
(String resourceName, String resourceId) createSimProcessorSharingResource
(String resourceName, String resourceId, long numberOfCores) createSimProcessorSharingResourceLinuxO1
(String resourceName, String resourceId, long numberOfCores) createSimProcessorSharingResourceWindows
(String resourceName, String resourceId, long numberOfCores) void
-
Constructor Details
-
SchedulingFactory
-
-
Method Details
-
cleanActiveResources
public void cleanActiveResources()- Specified by:
cleanActiveResources
in interfaceISchedulingFactory
-
createResourceFromExtension
public IActiveResource createResourceFromExtension(String extensionId, String resourceId, long numberOfCores) - Specified by:
createResourceFromExtension
in interfaceISchedulingFactory
-
createSimFCFSResource
- Specified by:
createSimFCFSResource
in interfaceISchedulingFactory
-
createSimDelayResource
- Specified by:
createSimDelayResource
in interfaceISchedulingFactory
-
createSimProcessorSharingResource
public IActiveResource createSimProcessorSharingResource(String resourceName, String resourceId, long numberOfCores) - Specified by:
createSimProcessorSharingResource
in interfaceISchedulingFactory
-
createSimProcessorSharingResourceWindows
public IActiveResource createSimProcessorSharingResourceWindows(String resourceName, String resourceId, long numberOfCores) - Specified by:
createSimProcessorSharingResourceWindows
in interfaceISchedulingFactory
-
createSimProcessorSharingResourceLinuxO1
public IActiveResource createSimProcessorSharingResourceLinuxO1(String resourceName, String resourceId, long numberOfCores) - Specified by:
createSimProcessorSharingResourceLinuxO1
in interfaceISchedulingFactory
-
resetFactory
public void resetFactory()- Specified by:
resetFactory
in interfaceISchedulingFactory
-