@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.
|
toStringgetGridServiceAgentZones, getProcessingUnitName, isComplete, isUndeploying, setComplete, setGridServiceAgentZones, setProcessingUnitName, setUndeploying, toStringHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisComplete, isUndeployinggetGridServiceAgentZones, getProcessingUnitNamesetComplete, setUndeployingsetGridServiceAgentZones, setProcessingUnitNamepublic 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 ExternalizablewriteExternal in class AbstractElasticProcessingUnitProgressChangedEventIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class AbstractElasticProcessingUnitProgressChangedEventIOExceptionClassNotFoundExceptionpublic String getDecisionDescription()
AbstractElasticProcessingUnitDecisionEventgetDecisionDescription in interface ElasticProcessingUnitDecisionEventgetDecisionDescription in class AbstractElasticProcessingUnitDecisionEventpublic AutomaticCapacityScaleRuleConfig getRule()
public boolean isHighThresholdBreached()
public boolean isLowThresholdBreached()
public String getMetricValue()
Copyright © GigaSpaces.