@Singleton public class AWSEC2CreateNodesInGroupThenAddToSet extends EC2CreateNodesInGroupThenAddToSet
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
instanceToRegionAndName
Modifier | Constructor and Description |
---|---|
protected |
AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
AWSEC2AsyncClient aclient,
boolean generateInstanceNames,
Provider<TemplateBuilder> templateBuilderProvider,
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
AWSEC2InstancePresent instancePresent,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.cache.LoadingCache<RunningInstance,Credentials> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils,
SpotInstanceRequestToAWSRunningInstance spotConverter) |
Modifier and Type | Method and Description |
---|---|
Iterable<? extends RunningInstance> |
addTagsToInstancesInRegion(Map<String,String> metadata,
Iterable<? extends RunningInstance> iterable,
String region,
String group) |
protected Iterable<? extends RunningInstance> |
createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions) |
allocateElasticIpsInRegion, assignElasticIpsToInstances, createKeyPairAndSecurityGroupsAsNeededThenRunInstances, execute, populateCredentials
@Inject protected AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client, @Named(value="ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, @Named(value="NODE_RUNNING") com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, AWSEC2AsyncClient aclient, @Named(value="jclouds.ec2.generate-instance-names") boolean generateInstanceNames, Provider<TemplateBuilder> templateBuilderProvider, CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize, AWSEC2InstancePresent instancePresent, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, com.google.common.cache.LoadingCache<RunningInstance,Credentials> instanceToCredentials, Map<String,Credentials> credentialStore, ComputeUtils utils, SpotInstanceRequestToAWSRunningInstance spotConverter)
protected Iterable<? extends RunningInstance> createNodesInRegionAndZone(String region, String zone, String group, int count, Template template, RunInstancesOptions instanceOptions)
createNodesInRegionAndZone
in class EC2CreateNodesInGroupThenAddToSet
public Iterable<? extends RunningInstance> addTagsToInstancesInRegion(Map<String,String> metadata, Iterable<? extends RunningInstance> iterable, String region, String group)
Copyright © 2009-2012 jclouds. All Rights Reserved.