public interface PrioritizedRemoteCloudAdapter extends Comparable<PrioritizedRemoteCloudAdapter>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PrioritizedRemoteCloudAdapter other)
Sort order MUST be descending with regard to priority.
|
void |
configure(PrioritizedRemoteCloudAdapterConfig configuration)
Configures this remote cloud adapter proxy with the given values.
|
MachinePool |
getMachinePool()
Returns the remote cloud adapter's machine pool.
|
int |
getPriority() |
void |
resizeMachinePool(long desiredCapacity)
Tells the remote cloud adapter to resize the machine pool it manages.
|
void configure(PrioritizedRemoteCloudAdapterConfig configuration) throws ConfigurationException
configuration - The configuration required to connect to the remote cloud
adapter.ConfigurationException - Thrown if the configuration cannot be validated, i.e., there
is something wrong with it (missing or unacceptable value).int getPriority()
MachinePool getMachinePool() throws CloudAdapterException
CloudAdapterExceptionvoid resizeMachinePool(long desiredCapacity)
throws IllegalArgumentException,
CloudAdapterException
int compareTo(PrioritizedRemoteCloudAdapter other)
compareTo in interface Comparable<PrioritizedRemoteCloudAdapter>Copyright © 2011–2014 elastisys. All rights reserved.