public interface PoolSizeCalculationStrategy
Splitter to calculate how to divide a total desired pool
size across all back-end cloud adapters.| Modifier and Type | Method and Description |
|---|---|
Map<PrioritizedCloudAdapter,Integer> |
calculatePoolSizes(Collection<PrioritizedCloudAdapter> backendCloudAdapters,
int desiredTotalSize)
Calculates the desired sizes to set for a collection of back-end cloud
adapters given their individual priorities and a total desired pool size.
|
Map<PrioritizedCloudAdapter,Integer> calculatePoolSizes(Collection<PrioritizedCloudAdapter> backendCloudAdapters, int desiredTotalSize)
backendCloudAdapters - The cloud adapters, in the order in which they were
configured, should that matter to the calculation.desiredTotalSize - The desired total pool size.Copyright © 2011–2015 elastisys. All rights reserved.