|
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openspaces.admin.pu.elastic.config.EagerScaleConfig
public class EagerScaleConfig
| Constructor Summary | |
|---|---|
EagerScaleConfig()
|
|
EagerScaleConfig(Map<String,String> properties)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
String |
getBeanClassName()
The Bean implementation class name corresponding to this BeanConfig. |
int |
getMaxConcurrentRelocationsPerMachine()
|
int |
getPollingIntervalSeconds()
|
Map<String,String> |
getProperties()
Get the String key-value pairs properties used to configure this bean. |
int |
hashCode()
|
boolean |
isAtMostOneContainerPerMachine()
|
boolean |
isAtMostOneContainersPerMachine()
Deprecated. |
void |
readExternal(ObjectInput in)
|
void |
setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
When set to true, at most one Grid Service Container for this Processing Unit is started per machine. |
void |
setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
Specifies the number of processing unit instance relocations each machine can handle concurrently. |
void |
setPollingIntervalSeconds(int pollingIntervalSeconds)
Sets the polling interval in which the scale strategy SLA is monitored and enforced. |
void |
setProperties(Map<String,String> properties)
Set with String key-value pairs to configure properties belonging to this bean. |
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EagerScaleConfig(Map<String,String> properties)
public EagerScaleConfig()
| Method Detail |
|---|
public int getPollingIntervalSeconds()
getPollingIntervalSeconds in interface ScaleStrategyConfigpublic void setPollingIntervalSeconds(int pollingIntervalSeconds)
ScaleStrategyConfig
setPollingIntervalSeconds in interface ScaleStrategyConfigpollingIntervalSeconds - - the polling interval in secondspublic int getMaxConcurrentRelocationsPerMachine()
getMaxConcurrentRelocationsPerMachine in interface ScaleStrategyConfigpublic void setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
ScaleStrategyConfig
setMaxConcurrentRelocationsPerMachine in interface ScaleStrategyConfig@Deprecated public boolean isAtMostOneContainersPerMachine()
public boolean isAtMostOneContainerPerMachine()
isAtMostOneContainerPerMachine in interface ScaleStrategyConfigpublic void setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
ScaleStrategyConfig
setAtMostOneContainerPerMachine in interface ScaleStrategyConfigpublic void setProperties(Map<String,String> properties)
BeanConfig
setProperties in interface BeanConfigproperties - the properties to configure this bean object.public Map<String,String> getProperties()
BeanConfig
getProperties 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 Object
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
GigaSpaces XAP 9.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||