|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEObjectImpl
scheduler.configuration.impl.LoadBalancingImpl
public class LoadBalancingImpl
An implementation of the model object 'Load Balancing'.
The following features are implemented:
Balancing Type
Preferred Waiting Time
Preferred Priority
Instances
Threshold
Max Iterations
Balancing Interval
Field Summary | |
---|---|
protected static LoadBalancingType |
BALANCING_TYPE_EDEFAULT
The default value of the ' Balancing Type ' attribute. |
protected TimeValue |
balancingInterval
The cached value of the ' Balancing Interval ' containment reference. |
protected LoadBalancingType |
balancingType
The cached value of the ' Balancing Type ' attribute. |
protected InstanceToBalance |
instances
The cached value of the ' Instances ' attribute. |
protected static InstanceToBalance |
INSTANCES_EDEFAULT
The default value of the ' Instances ' attribute. |
protected static int |
MAX_ITERATIONS_EDEFAULT
The default value of the ' Max Iterations ' attribute. |
protected int |
maxIterations
The cached value of the ' Max Iterations ' attribute. |
protected static PreferredPriority |
PREFERRED_PRIORITY_EDEFAULT
The default value of the ' Preferred Priority ' attribute. |
protected static PreferredWaitingTime |
PREFERRED_WAITING_TIME_EDEFAULT
The default value of the ' Preferred Waiting Time ' attribute. |
protected PreferredPriority |
preferredPriority
The cached value of the ' Preferred Priority ' attribute. |
protected PreferredWaitingTime |
preferredWaitingTime
The cached value of the ' Preferred Waiting Time ' attribute. |
protected double |
threshold
The cached value of the ' Threshold ' attribute. |
protected static double |
THRESHOLD_EDEFAULT
The default value of the ' Threshold ' attribute. |
Constructor Summary | |
---|---|
protected |
LoadBalancingImpl()
|
Method Summary | |
---|---|
NotificationChain |
basicSetBalancingInterval(TimeValue newBalancingInterval,
NotificationChain msgs)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
TimeValue |
getBalancingInterval()
|
LoadBalancingType |
getBalancingType()
|
InstanceToBalance |
getInstances()
|
int |
getMaxIterations()
|
PreferredPriority |
getPreferredPriority()
|
PreferredWaitingTime |
getPreferredWaitingTime()
|
double |
getThreshold()
|
void |
setBalancingInterval(TimeValue newBalancingInterval)
|
void |
setBalancingType(LoadBalancingType newBalancingType)
|
void |
setInstances(InstanceToBalance newInstances)
|
void |
setMaxIterations(int newMaxIterations)
|
void |
setPreferredPriority(PreferredPriority newPreferredPriority)
|
void |
setPreferredWaitingTime(PreferredWaitingTime newPreferredWaitingTime)
|
void |
setThreshold(double newThreshold)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final LoadBalancingType BALANCING_TYPE_EDEFAULT
Balancing Type
' attribute.
getBalancingType()
protected LoadBalancingType balancingType
Balancing Type
' attribute.
getBalancingType()
protected static final PreferredWaitingTime PREFERRED_WAITING_TIME_EDEFAULT
Preferred Waiting Time
' attribute.
getPreferredWaitingTime()
protected PreferredWaitingTime preferredWaitingTime
Preferred Waiting Time
' attribute.
getPreferredWaitingTime()
protected static final PreferredPriority PREFERRED_PRIORITY_EDEFAULT
Preferred Priority
' attribute.
getPreferredPriority()
protected PreferredPriority preferredPriority
Preferred Priority
' attribute.
getPreferredPriority()
protected static final InstanceToBalance INSTANCES_EDEFAULT
Instances
' attribute.
getInstances()
protected InstanceToBalance instances
Instances
' attribute.
getInstances()
protected static final double THRESHOLD_EDEFAULT
Threshold
' attribute.
getThreshold()
,
Constant Field Valuesprotected double threshold
Threshold
' attribute.
getThreshold()
protected static final int MAX_ITERATIONS_EDEFAULT
Max Iterations
' attribute.
getMaxIterations()
,
Constant Field Valuesprotected int maxIterations
Max Iterations
' attribute.
getMaxIterations()
protected TimeValue balancingInterval
Balancing Interval
' containment reference.
getBalancingInterval()
Constructor Detail |
---|
protected LoadBalancingImpl()
Method Detail |
---|
protected EClass eStaticClass()
public LoadBalancingType getBalancingType()
getBalancingType
in interface LoadBalancing
LoadBalancingType
,
LoadBalancing.setBalancingType(LoadBalancingType)
,
ConfigurationPackage.getLoadBalancing_BalancingType()
public void setBalancingType(LoadBalancingType newBalancingType)
setBalancingType
in interface LoadBalancing
newBalancingType
- the new value of the 'Balancing Type' attribute.LoadBalancingType
,
LoadBalancing.getBalancingType()
public PreferredWaitingTime getPreferredWaitingTime()
getPreferredWaitingTime
in interface LoadBalancing
PreferredWaitingTime
,
LoadBalancing.setPreferredWaitingTime(PreferredWaitingTime)
,
ConfigurationPackage.getLoadBalancing_PreferredWaitingTime()
public void setPreferredWaitingTime(PreferredWaitingTime newPreferredWaitingTime)
setPreferredWaitingTime
in interface LoadBalancing
newPreferredWaitingTime
- the new value of the 'Preferred Waiting Time' attribute.PreferredWaitingTime
,
LoadBalancing.getPreferredWaitingTime()
public PreferredPriority getPreferredPriority()
getPreferredPriority
in interface LoadBalancing
PreferredPriority
,
LoadBalancing.setPreferredPriority(PreferredPriority)
,
ConfigurationPackage.getLoadBalancing_PreferredPriority()
public void setPreferredPriority(PreferredPriority newPreferredPriority)
setPreferredPriority
in interface LoadBalancing
newPreferredPriority
- the new value of the 'Preferred Priority' attribute.PreferredPriority
,
LoadBalancing.getPreferredPriority()
public InstanceToBalance getInstances()
getInstances
in interface LoadBalancing
InstanceToBalance
,
LoadBalancing.setInstances(InstanceToBalance)
,
ConfigurationPackage.getLoadBalancing_Instances()
public void setInstances(InstanceToBalance newInstances)
setInstances
in interface LoadBalancing
newInstances
- the new value of the 'Instances' attribute.InstanceToBalance
,
LoadBalancing.getInstances()
public double getThreshold()
getThreshold
in interface LoadBalancing
LoadBalancing.setThreshold(double)
,
ConfigurationPackage.getLoadBalancing_Threshold()
public void setThreshold(double newThreshold)
setThreshold
in interface LoadBalancing
newThreshold
- the new value of the 'Threshold' attribute.LoadBalancing.getThreshold()
public int getMaxIterations()
getMaxIterations
in interface LoadBalancing
LoadBalancing.setMaxIterations(int)
,
ConfigurationPackage.getLoadBalancing_MaxIterations()
public void setMaxIterations(int newMaxIterations)
setMaxIterations
in interface LoadBalancing
newMaxIterations
- the new value of the 'Max Iterations' attribute.LoadBalancing.getMaxIterations()
public TimeValue getBalancingInterval()
getBalancingInterval
in interface LoadBalancing
LoadBalancing.setBalancingInterval(TimeValue)
,
ConfigurationPackage.getLoadBalancing_BalancingInterval()
public NotificationChain basicSetBalancingInterval(TimeValue newBalancingInterval, NotificationChain msgs)
public void setBalancingInterval(TimeValue newBalancingInterval)
setBalancingInterval
in interface LoadBalancing
newBalancingInterval
- the new value of the 'Balancing Interval' containment reference.LoadBalancing.getBalancingInterval()
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
public Object eGet(int featureID, boolean resolve, boolean coreType)
public void eSet(int featureID, Object newValue)
public void eUnset(int featureID)
public boolean eIsSet(int featureID)
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |