public interface ScaleStrategyConfig extends BeanConfig, Externalizable
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
getMaxConcurrentRelocationsPerMachine() |
int |
getPollingIntervalSeconds() |
int |
hashCode() |
boolean |
isAllowAboveAverageMemoryPerMachine() |
boolean |
isAtMostOneConcurrentRelocation() |
boolean |
isAtMostOneContainerPerMachine() |
void |
setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
Allows a single machine to accommodate for more than the average maximum memory allocation of a Processing Unit.
|
void |
setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
Limits the number of concurrent relocations for the entire cluster to 1.
|
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 seconds)
Sets the polling interval in which the scale strategy SLA is monitored and enforced.
|
String |
toString() |
getBeanClassName, getProperties, setProperties
readExternal, writeExternal
void setPollingIntervalSeconds(int seconds)
seconds
- - the polling interval in secondsint getPollingIntervalSeconds()
int getMaxConcurrentRelocationsPerMachine()
void setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
maxNumberOfConcurrentRelocationsPerMachine
- void setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
void setAllowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
boolean isAllowAboveAverageMemoryPerMachine()
void setAtMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
setMaxConcurrentRelocationsPerMachine(int)
boolean isAtMostOneConcurrentRelocation()
boolean isAtMostOneContainerPerMachine()
Copyright © GigaSpaces.