@Deprecated public class EagerScaleConfig extends Object implements ScaleStrategyConfig, Externalizable
| Constructor and Description |
|---|
EagerScaleConfig()
Deprecated.
|
EagerScaleConfig(Map<String,String> properties)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Deprecated.
|
String |
getBeanClassName()
Deprecated.
The
Bean implementation class name corresponding to this BeanConfig. |
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 |
isAtMostOnceContainerScalePerMachine()
Deprecated.
|
boolean |
isAtMostOneConcurrentRelocation()
Deprecated.
|
boolean |
isAtMostOneContainerPerMachine()
Deprecated.
|
boolean |
isAtMostOneContainersPerMachine()
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 |
setAtMostOneContainerScalePerMachine(boolean atMostOneContainerScalePerMachine)
Deprecated.
|
void |
setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
Deprecated.
Specifies the number of processing unit instance relocations each machine can handle
concurrently.
|
void |
setPollingIntervalSeconds(int pollingIntervalSeconds)
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.
|
String |
toString()
Deprecated.
|
void |
writeExternal(ObjectOutput out)
Deprecated.
|
public void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
ScaleStrategyConfigsetAtMostOneConcurrentRelocation in interface ScaleStrategyConfigScaleStrategyConfig.setMaxConcurrentRelocationsPerMachine(int)public boolean isAtMostOneConcurrentRelocation()
isAtMostOneConcurrentRelocation in interface ScaleStrategyConfigpublic void setAtMostOneContainerScalePerMachine(boolean atMostOneContainerScalePerMachine)
public boolean isAtMostOnceContainerScalePerMachine()
public int getPollingIntervalSeconds()
getPollingIntervalSeconds in interface ScaleStrategyConfigpublic void setPollingIntervalSeconds(int pollingIntervalSeconds)
ScaleStrategyConfigsetPollingIntervalSeconds in interface ScaleStrategyConfigpollingIntervalSeconds - - the polling interval in secondspublic int getMaxConcurrentRelocationsPerMachine()
getMaxConcurrentRelocationsPerMachine in interface ScaleStrategyConfigpublic void setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
ScaleStrategyConfigsetMaxConcurrentRelocationsPerMachine in interface ScaleStrategyConfigpublic void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
ScaleStrategyConfigsetAllowAboveAverageMemoryPerMachine in interface ScaleStrategyConfigpublic boolean isAllowAboveAverageMemoryPerMachine()
isAllowAboveAverageMemoryPerMachine in interface ScaleStrategyConfig@Deprecated public boolean isAtMostOneContainersPerMachine()
public boolean isAtMostOneContainerPerMachine()
isAtMostOneContainerPerMachine in interface ScaleStrategyConfigpublic void setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
ScaleStrategyConfigsetAtMostOneContainerPerMachine in interface ScaleStrategyConfigpublic void setProperties(Map<String,String> properties)
BeanConfigsetProperties in interface BeanConfigproperties - the properties to configure this bean object.public Map<String,String> getProperties()
BeanConfiggetProperties in interface BeanConfigpublic String getBeanClassName()
BeanConfigBean implementation class name corresponding to this BeanConfig.getBeanClassName in interface BeanConfigpublic String toString()
toString in interface ScaleStrategyConfigtoString in class Objectpublic boolean equals(Object other)
equals in interface ScaleStrategyConfigequals in class Objectpublic int hashCode()
hashCode in interface ScaleStrategyConfighashCode in class Objectpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © GigaSpaces.