|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.admin.pu.elastic.config.AutomaticCapacityScaleRuleConfig
public class AutomaticCapacityScaleRuleConfig
Configures an automatic scaling rule based on a monitored statistics and thresholds.
AutomaticCapacityScaleConfig
,
AutomaticCapacityScaleRuleConfigurer
,
Serialized FormConstructor Summary | |
---|---|
AutomaticCapacityScaleRuleConfig()
|
|
AutomaticCapacityScaleRuleConfig(Map<String,String> properties)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AutomaticCapacityScaleRuleConfig()
public AutomaticCapacityScaleRuleConfig(Map<String,String> properties)
Method Detail |
---|
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 Map<String,String> getProperties()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public String toString()
toString
in class Object
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |