public class AutomaticCapacityScaleRuleConfig extends Object implements Externalizable
AutomaticCapacityScaleConfig,
AutomaticCapacityScaleRuleConfigurer,
Serialized Form| Constructor and Description |
|---|
AutomaticCapacityScaleRuleConfig() |
AutomaticCapacityScaleRuleConfig(Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Comparable<?> |
getHighThreshold() |
CapacityRequirementsConfig |
getHighThresholdBreachedIncrease() |
Comparable<?> |
getLowThreshold() |
CapacityRequirementsConfig |
getLowThresholdBreachedDecrease() |
Map<String,String> |
getProperties() |
ProcessingUnitStatisticsId |
getStatistics() |
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setHighThreshold(Comparable<?> highThreshold)
Defines a high threshold that triggers an increase or decrease of capacity
|
void |
setHighThresholdBreachedIncrease(CapacityRequirementsConfig capacityRequirementsConfig)
Defined Capacity Requirements that will be added once the high threshold is breached
|
void |
setLowThreshold(Comparable<?> lowThreshold)
Defines a low threshold that triggers an increase or decrease of capacity
|
void |
setLowThresholdBreachedDecrease(CapacityRequirementsConfig capacityRequirementsConfig)
Defined Capacity Requirements that will be decreases once the low threshold is breached
|
void |
setStatistics(ProcessingUnitStatisticsId statisticsId)
Defines the statistics that is compared against the high and low thresholds
|
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public void setStatistics(ProcessingUnitStatisticsId statisticsId)
public ProcessingUnitStatisticsId getStatistics()
public void setLowThreshold(Comparable<?> lowThreshold)
lowThreshold - - An Object of a Class that implements Comparable and has a constructor accepting a String as a single argument.setLowThresholdBreachedDecrease(CapacityRequirementsConfig)public Comparable<?> getLowThreshold()
public void setHighThreshold(Comparable<?> highThreshold)
highThreshold - - An Object of a Class that implements Comparable and has a constructor accepting a String as a single argument.setHighThresholdBreachedIncrease(CapacityRequirementsConfig)public Comparable<?> getHighThreshold()
public void setHighThresholdBreachedIncrease(CapacityRequirementsConfig capacityRequirementsConfig)
capacityRequirementsConfig - - An Object of a CapacityRequirementsConfig that defines capacity propertiespublic CapacityRequirementsConfig getHighThresholdBreachedIncrease()
public void setLowThresholdBreachedDecrease(CapacityRequirementsConfig capacityRequirementsConfig)
capacityRequirementsConfig - - An Object of a CapacityRequirementsConfig that defines capacity propertiespublic CapacityRequirementsConfig getLowThresholdBreachedDecrease()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.