@Deprecated public class ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent extends AbstractElasticProcessingUnitDecisionEvent implements ElasticAutoScalingProgressChangedEvent
Constructor and Description |
---|
ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent()
Deprecated.
de-serialization constructor
|
ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent(int actualNumberOfInstances,
int oldPlannedNumberOfInstances,
int newPlannedNumberOfInstances)
Deprecated.
|
ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent(int actualNumberOfInstances,
int oldPlannedNumberOfInstances,
int newPlannedNumberOfInstances,
AutomaticCapacityScaleRuleConfig rule,
boolean highThresholdBreached,
String metricValue)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
getBeforePlannedNumberOfInstances()
Deprecated.
|
String |
getDecisionDescription()
Deprecated.
Each decision event instance has the same (parameterized) description as other event
instances with the same type.
|
String |
getMetricValue()
Deprecated.
|
int |
getNewPlannedNumberOfInstances()
Deprecated.
|
AutomaticCapacityScaleRuleConfig |
getRule()
Deprecated.
|
boolean |
isHighThresholdBreached()
Deprecated.
|
boolean |
isLowThresholdBreached()
Deprecated.
|
void |
readExternal(ObjectInput in)
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
toString
getGridServiceAgentZones, getProcessingUnitName, isComplete, isUndeploying, setComplete, setGridServiceAgentZones, setProcessingUnitName, setUndeploying, toStringHelper
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isComplete, isUndeploying
getGridServiceAgentZones, getProcessingUnitName
setComplete, setUndeploying
setGridServiceAgentZones, setProcessingUnitName
public ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent()
public ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent(int actualNumberOfInstances, int oldPlannedNumberOfInstances, int newPlannedNumberOfInstances)
actualNumberOfInstances
- - number of instances currently deployedoldPlannedNumberOfInstances
- - planned number of instances before rule breachednewPlannedNumberOfInstances
- - planned number of instances after rule breachedpublic ElasticStatelessProcessingUnitPlannedNumberOfInstancesChangedEvent(int actualNumberOfInstances, int oldPlannedNumberOfInstances, int newPlannedNumberOfInstances, AutomaticCapacityScaleRuleConfig rule, boolean highThresholdBreached, String metricValue)
actualNumberOfInstances
- - number of instances currently deployedoldPlannedNumberOfInstances
- - planned number of instances before rule breachednewPlannedNumberOfInstances
- - planned number of instances after rule breachedrule
- - the rule that was breachedhighThresholdBreached
- - true means high threshold breached, false means low
threshold breachedmetricValue
- - the metric value that breached the threshold as a
string.public int getNewPlannedNumberOfInstances()
public int getBeforePlannedNumberOfInstances()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractElasticProcessingUnitProgressChangedEvent
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractElasticProcessingUnitProgressChangedEvent
IOException
ClassNotFoundException
public String getDecisionDescription()
AbstractElasticProcessingUnitDecisionEvent
getDecisionDescription
in interface ElasticProcessingUnitDecisionEvent
getDecisionDescription
in class AbstractElasticProcessingUnitDecisionEvent
public AutomaticCapacityScaleRuleConfig getRule()
public boolean isHighThresholdBreached()
public boolean isLowThresholdBreached()
public String getMetricValue()
Copyright © GigaSpaces.