@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,
javax.inject.Provider<TemplateBuilder> templateBuilderProvider,
CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize,
AWSEC2InstancePresent instancePresent,
com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata,
com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> 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
@Named(value="jclouds.compute") protected Logger logger
@Inject protected AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client, @Named(value="ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, @Named(value="jclouds.compute.timeout.node-running") com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, AWSEC2AsyncClient aclient, @Named(value="jclouds.ec2.generate-instance-names") boolean generateInstanceNames, javax.inject.Provider<TemplateBuilder> templateBuilderProvider, CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize, AWSEC2InstancePresent instancePresent, com.google.common.base.Function<RunningInstance,NodeMetadata> runningInstanceToNodeMetadata, com.google.common.cache.LoadingCache<RunningInstance,com.google.common.base.Optional<LoginCredentials>> 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-2013 jclouds. All Rights Reserved.