| Constructor and Description |
|---|
SplitterCloudAdapter(Class<? extends PrioritizedRemoteCloudAdapter> adapterClass)
Creates a new instance in an unconfigured state, with the ability to
specify the implementation class of the remote cloud adapter (useful for
testing).
|
| Modifier and Type | Class and Description |
|---|---|
class |
StandardPrioritizedRemoteCloudAdapter
A
CloudAdapter that acts as a local proxy to a remotely located
CloudAdapter. |
| Modifier and Type | Method and Description |
|---|---|
int |
StandardPrioritizedRemoteCloudAdapter.compareTo(PrioritizedRemoteCloudAdapter o)
Compares the priorities of the prioritized cloud adapters so that higher
priorities are sorted first, i.e., descending order is the most natural
for these adapters.
|
int |
PrioritizedRemoteCloudAdapter.compareTo(PrioritizedRemoteCloudAdapter other)
Sort order MUST be descending with regard to priority.
|
| Constructor and Description |
|---|
GetMachinePoolCommand(PrioritizedRemoteCloudAdapter cloudAdapter)
Creates a new instance that, when called, will issue the
getMachinePool() command to the
remote cloud adapter. |
PoolResizeCommand(PrioritizedRemoteCloudAdapter cloudAdapter,
long desiredSize)
Creates a new instance, which when called, will issue the
PrioritizedRemoteCloudAdapter#resizeMachinePool(int) command with
the given desired size. |
| Modifier and Type | Method and Description |
|---|---|
Map<PrioritizedRemoteCloudAdapter,Long> |
StrictPoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize) |
Map<PrioritizedRemoteCloudAdapter,Long> |
PoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize)
Calculates the correct pool sizes for the given cloud adapters.
|
| Modifier and Type | Method and Description |
|---|---|
Map<PrioritizedRemoteCloudAdapter,Long> |
StrictPoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize) |
Map<PrioritizedRemoteCloudAdapter,Long> |
StrictPoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize) |
Map<PrioritizedRemoteCloudAdapter,Long> |
PoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize)
Calculates the correct pool sizes for the given cloud adapters.
|
Map<PrioritizedRemoteCloudAdapter,Long> |
PoolSizeCalculationStrategy.calculatePoolSizes(Map<PrioritizedRemoteCloudAdapter,MachinePool> currentMachinePools,
com.google.common.collect.ImmutableList<PrioritizedRemoteCloudAdapter> cloudAdapters,
long desiredTotalSize)
Calculates the correct pool sizes for the given cloud adapters.
|
Copyright © 2011–2014 elastisys. All rights reserved.