Class QueueingConfigurationSwitch
java.lang.Object
scheduler.configuration.util.ConfigurationSwitch<IQueueingStrategy>
edu.kit.ipd.sdq.pcm.simulation.scheduler.exact.factory.QueueingConfigurationSwitch
-
Field Summary
Fields inherited from class scheduler.configuration.util.ConfigurationSwitch
modelPackage
-
Constructor Summary
ConstructorDescriptionQueueingConfigurationSwitch
(IRunQueue runqueue_prototype, IInstanceSelector instance_selector, ExactSchedulingFactory factory, SimActiveResource resource) -
Method Summary
Modifier and TypeMethodDescriptioncaseMultipleQueueConfiguration
(MultipleQueueConfiguration configuration) Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'.caseSingleQueueConfiguration
(SingleQueueConfiguration configuration) Returns the result of interpreting the object as an instance of 'Single Queue Configuration'.Methods inherited from class scheduler.configuration.util.ConfigurationSwitch
caseActiveResourceConfiguration, caseDynamicPriorityBoostConfiguratioin, caseIdentifier, caseLoadBalancing, casePassiveResourceConfiguration, casePreemptionConfiguration, casePriorityBoostConfiguration, casePriorityConfiguration, casePriorityDependentTimeSliceConfiguration, casePriorityRange, caseProcessConfiguration, caseQuantumTimeSliceConfiguration, caseQueueingConfiguration, caseSchedulerConfiguration, caseStarvationBoost, caseStaticPriorityBoost, caseStaticPriorityBoostConfiguration, caseTimeSliceConfiguration, defaultCase, doSwitch, doSwitch, doSwitch
-
Constructor Details
-
QueueingConfigurationSwitch
public QueueingConfigurationSwitch(IRunQueue runqueue_prototype, IInstanceSelector instance_selector, ExactSchedulingFactory factory, SimActiveResource resource)
-
-
Method Details
-
caseMultipleQueueConfiguration
Description copied from class:ConfigurationSwitch
Returns the result of interpreting the object as an instance of 'Multiple Queue Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseMultipleQueueConfiguration
in classConfigurationSwitch<IQueueingStrategy>
- Parameters:
configuration
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Multiple Queue Configuration'.
- See Also:
-
caseSingleQueueConfiguration
Description copied from class:ConfigurationSwitch
Returns the result of interpreting the object as an instance of 'Single Queue Configuration'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSingleQueueConfiguration
in classConfigurationSwitch<IQueueingStrategy>
- Parameters:
configuration
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Single Queue Configuration'.
- See Also:
-