@Deprecated public class EagerScaleConfigurer extends Object implements ScaleStrategyConfigurer<EagerScaleConfig>
EagerScaleConfig
object.
For example new EagerScaleStrategyConfigurer().maxNumberOfContainers(10).create()
EagerScaleConfigurer
,
EagerScaleConfig
Constructor and Description |
---|
EagerScaleConfigurer()
Deprecated.
Provides fluent API for creating a new
EagerScaleConfig object. |
Modifier and Type | Method and Description |
---|---|
EagerScaleConfigurer |
allowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
Deprecated.
|
EagerScaleConfigurer |
atMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
Deprecated.
|
EagerScaleConfigurer |
atMostOneContainerPerMachine()
Deprecated.
|
EagerScaleConfig |
create()
Deprecated.
Get the fully configured
BeanConfig object (after all properties have been set). |
EagerScaleConfigurer |
maxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
Deprecated.
|
EagerScaleConfigurer |
pollingInterval(long pollingInterval,
TimeUnit timeUnit)
Deprecated.
|
public EagerScaleConfigurer()
EagerScaleConfig
object. For example new EagerScaleStrategyConfigurer().maxNumberOfContainers(10).create()
The default
constructor wraps an empty EagerScaleConfig
objectpublic EagerScaleConfigurer atMostOneConcurrentRelocation(boolean atMostOneConcurrentRelocation)
atMostOneConcurrentRelocation
in interface ScaleStrategyConfigurer<EagerScaleConfig>
(boolean)
public EagerScaleConfigurer maxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
maxConcurrentRelocationsPerMachine
in interface ScaleStrategyConfigurer<EagerScaleConfig>
ScaleStrategyConfig.setMaxConcurrentRelocationsPerMachine(int)
public EagerScaleConfigurer atMostOneContainerPerMachine()
atMostOneContainerPerMachine
in interface ScaleStrategyConfigurer<EagerScaleConfig>
ScaleStrategyConfig.setAtMostOneContainerPerMachine(boolean)
public EagerScaleConfigurer allowAboveAverageMemoryPerMachine(boolean allowAboveAverageMemoryPerMachine)
allowAboveAverageMemoryPerMachine
in interface ScaleStrategyConfigurer<EagerScaleConfig>
ScaleStrategyConfig.setAllowAboveAverageMemoryPerMachine(boolean)
public EagerScaleConfigurer pollingInterval(long pollingInterval, TimeUnit timeUnit)
pollingInterval
in interface ScaleStrategyConfigurer<EagerScaleConfig>
ScaleStrategyConfig.setPollingIntervalSeconds(int)
public EagerScaleConfig create()
BeanConfigurer
BeanConfig
object (after all properties have been set).create
in interface BeanConfigurer<EagerScaleConfig>
Copyright © GigaSpaces.