Class AbstractLoadBalancingScalingPlanningStrategy<C>
java.lang.Object
org.palladiosimulator.simexp.pcm.examples.performability.AbstractReconfigurationPlanningStrategy<C,org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator>
org.palladiosimulator.simexp.pcm.examples.performability.loadbalancing.AbstractLoadBalancingScalingPlanningStrategy<C>
- All Implemented Interfaces:
ReconfigurationPlanningStrategy
- Direct Known Subclasses:
FaultTolerantScalingPlanningStrategy
,LoadBalancingScalingPlanningStrategy
public abstract class AbstractLoadBalancingScalingPlanningStrategy<C>
extends AbstractReconfigurationPlanningStrategy<C,org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator>
-
Field Summary
Fields inherited from class org.palladiosimulator.simexp.pcm.examples.performability.AbstractReconfigurationPlanningStrategy
LOGGER, recoveryStrategy
-
Constructor Summary
ConstructorDescriptionAbstractLoadBalancingScalingPlanningStrategy
(PcmMeasurementSpecification responseTimeSpec, PerformabilityStrategyConfiguration strategyConfiguration, NodeRecoveryStrategy<C, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> recoveryStrategy, Threshold lowerThresholdResponseTime, Threshold upperThresholdResponseTime) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isExceeded
(Double responseTime) protected boolean
isSubceeded
(Double responseTime) protected QVToReconfiguration
lookupReconfigure
(String qvtoScriptName, Set<QVToReconfiguration> options) Methods inherited from class org.palladiosimulator.simexp.pcm.examples.performability.AbstractReconfigurationPlanningStrategy
emptyReconfiguration, findReconfiguration, missingQvtoTransformationMessage, planReconfigurationSteps, retrieveResponseTime, retrieveServerNodeStates
-
Constructor Details
-
AbstractLoadBalancingScalingPlanningStrategy
public AbstractLoadBalancingScalingPlanningStrategy(PcmMeasurementSpecification responseTimeSpec, PerformabilityStrategyConfiguration strategyConfiguration, NodeRecoveryStrategy<C, org.palladiosimulator.simulizar.reconfiguration.qvto.QVTOReconfigurator> recoveryStrategy, Threshold lowerThresholdResponseTime, Threshold upperThresholdResponseTime)
-
-
Method Details
-
isSubceeded
-
isExceeded
-
lookupReconfigure
protected QVToReconfiguration lookupReconfigure(String qvtoScriptName, Set<QVToReconfiguration> options) throws PolicySelectionException - Throws:
PolicySelectionException
-