GigaSpaces XAP 9.0 API

org.openspaces.admin.pu.elastic.config
Class AutomaticCapacityScaleRuleConfigurer

java.lang.Object
  extended by org.openspaces.admin.pu.elastic.config.AutomaticCapacityScaleRuleConfigurer

public class AutomaticCapacityScaleRuleConfigurer
extends Object

Fluent API for creating a new AutomaticCapacityScaleRuleConfig object.

Since:
9.0.0
Author:
itaif

Constructor Summary
AutomaticCapacityScaleRuleConfigurer()
           
 
Method Summary
 AutomaticCapacityScaleRuleConfig create()
           
 AutomaticCapacityScaleRuleConfigurer highThreshold(Comparable<?> highThreshold)
           
 AutomaticCapacityScaleRuleConfigurer highThresholdBreachedIncrease(CapacityRequirementsConfig capacityRequirementsConfig)
           
 AutomaticCapacityScaleRuleConfigurer lowThreshold(Comparable<?> lowThreshold)
           
 AutomaticCapacityScaleRuleConfigurer lowThresholdBreachedDecrease(CapacityRequirementsConfig capacityRequirementsConfig)
           
 AutomaticCapacityScaleRuleConfigurer statistics(ProcessingUnitStatisticsId statisticsId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutomaticCapacityScaleRuleConfigurer

public AutomaticCapacityScaleRuleConfigurer()
Method Detail

statistics

public AutomaticCapacityScaleRuleConfigurer statistics(ProcessingUnitStatisticsId statisticsId)
See Also:
AutomaticCapacityScaleRuleConfig.setStatistics(ProcessingUnitStatisticsId)

lowThreshold

public AutomaticCapacityScaleRuleConfigurer lowThreshold(Comparable<?> lowThreshold)
See Also:
AutomaticCapacityScaleRuleConfig.setLowThreshold(Comparable)

highThreshold

public AutomaticCapacityScaleRuleConfigurer highThreshold(Comparable<?> highThreshold)
See Also:
AutomaticCapacityScaleRuleConfig.setHighThreshold(Comparable)

highThresholdBreachedIncrease

public AutomaticCapacityScaleRuleConfigurer highThresholdBreachedIncrease(CapacityRequirementsConfig capacityRequirementsConfig)
See Also:
AutomaticCapacityScaleRuleConfig.setHighThresholdBreachedIncrease(CapacityRequirementsConfig)

lowThresholdBreachedDecrease

public AutomaticCapacityScaleRuleConfigurer lowThresholdBreachedDecrease(CapacityRequirementsConfig capacityRequirementsConfig)
See Also:
AutomaticCapacityScaleRuleConfig.setLowThresholdBreachedDecrease(CapacityRequirementsConfig)

create

public AutomaticCapacityScaleRuleConfig create()

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.