@Deprecated public class ManualCapacityPerZonesScaleConfig extends Object implements ScaleStrategyConfig, ScaleStrategyAgentZonesAwareConfig, Externalizable
Constructor and Description |
---|
ManualCapacityPerZonesScaleConfig()
Deprecated.
|
ManualCapacityPerZonesScaleConfig(Map<String,String> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addCapacity(ExactZonesConfig zones,
CapacityRequirementsConfig capacity)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
String |
getBeanClassName()
Deprecated.
The
Bean implementation class name corresponding to this BeanConfig. |
CapacityRequirementsPerZonesConfig |
getCapacityRequirementsPerZonesConfig()
Deprecated.
|
int |
getMaxConcurrentRelocationsPerMachine()
Deprecated.
|
int |
getPollingIntervalSeconds()
Deprecated.
|
Map<String,String> |
getProperties()
Deprecated.
Get the String key-value pairs properties used to configure this bean.
|
int |
hashCode()
Deprecated.
|
boolean |
isAllowAboveAverageMemoryPerMachine()
Deprecated.
|
boolean |
isAtMostOneConcurrentRelocation()
Deprecated.
|
boolean |
isAtMostOneContainerPerMachine()
Deprecated.
|
boolean |
isGridServiceAgentZonesAware()
Deprecated.
|
void |
readExternal(ObjectInput in)
Deprecated.
|
void |
setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
Deprecated.
Allows a single machine to accommodate for more than the average maximum memory allocation of
a Processing Unit.
|
void |
setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
Deprecated.
Limits the number of concurrent relocations for the entire cluster to 1.
|
void |
setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
Deprecated.
When set to true, at most one Grid Service Container for this Processing Unit is started per
machine.
|
void |
setGridServiceAgentZonesAware(boolean enableAgentZonesAware)
Deprecated.
By default disabled, which means that the following machines: - Machines started due to
failover of another machine.
|
void |
setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
Deprecated.
Specifies the number of processing unit instance relocations each machine can handle
concurrently.
|
void |
setPollingIntervalSeconds(int seconds)
Deprecated.
Sets the polling interval in which the scale strategy SLA is monitored and enforced.
|
void |
setProperties(Map<String,String> properties)
Deprecated.
Set with String key-value pairs to configure properties belonging to this bean.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
toString
public ManualCapacityPerZonesScaleConfig()
public void addCapacity(ExactZonesConfig zones, CapacityRequirementsConfig capacity)
zone
- - the location (expressed as a GridServiceAgent zone) in which
the capacity is allocatedcapacityRequirements
- - the capacity to allocatepublic void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
ScaleStrategyConfig
setAtMostOneConcurrentRelocation
in interface ScaleStrategyConfig
ScaleStrategyConfig.setMaxConcurrentRelocationsPerMachine(int)
public boolean isAtMostOneConcurrentRelocation()
isAtMostOneConcurrentRelocation
in interface ScaleStrategyConfig
public void setPollingIntervalSeconds(int seconds)
ScaleStrategyConfig
setPollingIntervalSeconds
in interface ScaleStrategyConfig
seconds
- - the polling interval in secondspublic int getPollingIntervalSeconds()
getPollingIntervalSeconds
in interface ScaleStrategyConfig
public int getMaxConcurrentRelocationsPerMachine()
getMaxConcurrentRelocationsPerMachine
in interface ScaleStrategyConfig
public void setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
ScaleStrategyConfig
setMaxConcurrentRelocationsPerMachine
in interface ScaleStrategyConfig
public void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
ScaleStrategyConfig
setAllowAboveAverageMemoryPerMachine
in interface ScaleStrategyConfig
public boolean isAllowAboveAverageMemoryPerMachine()
isAllowAboveAverageMemoryPerMachine
in interface ScaleStrategyConfig
public boolean isAtMostOneContainerPerMachine()
isAtMostOneContainerPerMachine
in interface ScaleStrategyConfig
public void setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
ScaleStrategyConfig
setAtMostOneContainerPerMachine
in interface ScaleStrategyConfig
public boolean isGridServiceAgentZonesAware()
isGridServiceAgentZonesAware
in interface ScaleStrategyAgentZonesAwareConfig
public void setGridServiceAgentZonesAware(boolean enableAgentZonesAware)
ScaleStrategyAgentZonesAwareConfig
AutomaticCapacityScaleRuleConfig
sue to threshold breach are started with a Grid Service Agent zones as described in #getGridServiceAgentZones()
When enabled, these machines are started with the same ExactZonesConfig
as the failed
machine, or the same ExactZonesConfig
as the machines whose threshold was breached.setGridServiceAgentZonesAware
in interface ScaleStrategyAgentZonesAwareConfig
public CapacityRequirementsPerZonesConfig getCapacityRequirementsPerZonesConfig()
public String getBeanClassName()
BeanConfig
Bean
implementation class name corresponding to this BeanConfig.getBeanClassName
in interface BeanConfig
public void setProperties(Map<String,String> properties)
BeanConfig
setProperties
in interface BeanConfig
properties
- the properties to configure this bean object.public Map<String,String> getProperties()
BeanConfig
getProperties
in interface BeanConfig
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 int hashCode()
hashCode
in interface ScaleStrategyConfig
hashCode
in class Object
public boolean equals(Object obj)
equals
in interface ScaleStrategyConfig
equals
in class Object
Copyright © GigaSpaces.