GigaSpaces XAP 8.0 API

org.openspaces.admin.pu.elastic.config
Class EagerScaleConfigurer

java.lang.Object
  extended by org.openspaces.admin.pu.elastic.config.EagerScaleConfigurer
All Implemented Interfaces:
BeanConfigurer<EagerScaleConfig>, ScaleStrategyConfigurer<EagerScaleConfig>

public class EagerScaleConfigurer
extends Object
implements ScaleStrategyConfigurer<EagerScaleConfig>

Provides fluent API for creating a new EagerScaleConfig object. For example new EagerScaleStrategyConfigurer().maxNumberOfContainers(10).create()

Since:
8.0
Author:
itaif
See Also:
EagerScaleConfigurer, EagerScaleConfig

Constructor Summary
EagerScaleConfigurer()
          Provides fluent API for creating a new EagerScaleConfig object.
 
Method Summary
 EagerScaleConfigurer atMostOneContainerPerMachine()
           
 EagerScaleConfig create()
          Get the fully configured BeanConfig object (after all properties have been set).
 EagerScaleConfigurer maxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EagerScaleConfigurer

public EagerScaleConfigurer()
Provides fluent API for creating a new EagerScaleConfig object. For example new EagerScaleStrategyConfigurer().maxNumberOfContainers(10).create() The default constructor wraps an empty EagerScaleConfig object

Method Detail

maxConcurrentRelocationsPerMachine

public EagerScaleConfigurer maxConcurrentRelocationsPerMachine(int maxNumberOfConcurrentRelocationsPerMachine)
Specified by:
maxConcurrentRelocationsPerMachine in interface ScaleStrategyConfigurer<EagerScaleConfig>
See Also:
ScaleStrategyConfig.setMaxConcurrentRelocationsPerMachine(int)

atMostOneContainerPerMachine

public EagerScaleConfigurer atMostOneContainerPerMachine()
See Also:
EagerScaleConfig.setAtMostOneContainerPerMachine(boolean)

create

public EagerScaleConfig create()
Description copied from interface: BeanConfigurer
Get the fully configured BeanConfig object (after all properties have been set).

Specified by:
create in interface BeanConfigurer<EagerScaleConfig>
Returns:
a fully configured BeanConfig.

GigaSpaces XAP 8.0 API

Copyright © GigaSpaces.