| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_POOL_UPDATE_PERIOD
Default value for
poolUpdatePeriod. |
| Constructor and Description |
|---|
SplitterConfig(PoolSizeCalculator poolSizeCalculator,
List<PrioritizedCloudAdapter> adapters,
long poolUpdatePeriod)
Creates a
SplitterConfig. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<PrioritizedCloudAdapter> |
getAdapters()
Returns the list of back-end cloud adapters and their individual
priorities.
|
PoolSizeCalculator |
getPoolSizeCalculator()
Returns the pool size calculation strategy to use.
|
long |
getPoolUpdatePeriod()
Returns the time interval (in seconds) between pushing out the desired
size to each child adapter.
|
int |
hashCode() |
String |
toString() |
void |
validate() |
public static final long DEFAULT_POOL_UPDATE_PERIOD
poolUpdatePeriod.public SplitterConfig(PoolSizeCalculator poolSizeCalculator, List<PrioritizedCloudAdapter> adapters, long poolUpdatePeriod)
SplitterConfig.poolSizeCalculator - The pool size calculation strategy to use.adapters - The list of back-end cloud adapters and their individual
priorities.poolUpdatePeriod - The time interval (in seconds) between pushing out the desired
size to each child adapter.public PoolSizeCalculator getPoolSizeCalculator()
public List<PrioritizedCloudAdapter> getAdapters()
public long getPoolUpdatePeriod()
public void validate()
throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2011–2015 elastisys. All rights reserved.