org.openspaces.admin.pu.elastic.config
Interface ScaleStrategyConfig
- All Superinterfaces:
- BeanConfig, Externalizable, Serializable
- All Known Implementing Classes:
- AutomaticCapacityScaleConfig, EagerScaleConfig, ManualCapacityPerZonesScaleConfig, ManualCapacityScaleConfig
public interface ScaleStrategyConfig
- extends BeanConfig, Externalizable
setPollingIntervalSeconds
void setPollingIntervalSeconds(int seconds)
- Sets the polling interval in which the scale strategy SLA is monitored and enforced.
- Parameters:
seconds
- - the polling interval in seconds
getPollingIntervalSeconds
int getPollingIntervalSeconds()
getMaxConcurrentRelocationsPerMachine
int getMaxConcurrentRelocationsPerMachine()
setMaxConcurrentRelocationsPerMachine
void setMaxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
- Specifies the number of processing unit instance relocations each machine can handle concurrently.
Relocation requires network and CPU resources, and too many concurrent relocations per machine may degrade
its performance temporarily. The data recovery running as part of the relocation uses by default 4 threads.
So the total number of threads is 4 multiplied by the specified value.
By setting this value higher than 1, processing unit rebalancing
completes faster, by using more machine cpu and network resources.
Default value is 1.
This is an advanced property setting.
- Parameters:
maxNumberOfConcurrentRelocationsPerMachine
-
setAtMostOneContainerPerMachine
void setAtMostOneContainerPerMachine(boolean atMostOneContainerPerMachine)
- When set to true, at most one Grid Service Container for this Processing Unit is started per machine.
- Since:
- 8.0.3
isAtMostOneContainerPerMachine
boolean isAtMostOneContainerPerMachine()
equals
boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
int hashCode()
- Overrides:
hashCode
in class Object
toString
String toString()
- Overrides:
toString
in class Object
Copyright © GigaSpaces.