org.jclouds.aws.ec2.compute.strategy
Class AWSEC2CreateNodesInGroupThenAddToSet
java.lang.Object
org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet
org.jclouds.aws.ec2.compute.strategy.AWSEC2CreateNodesInGroupThenAddToSet
- All Implemented Interfaces:
- CreateNodesInGroupThenAddToSet
@Singleton
public class AWSEC2CreateNodesInGroupThenAddToSet
- extends EC2CreateNodesInGroupThenAddToSet
- Author:
- Adrian Cole
Constructor Summary |
protected |
AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client,
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.Cache<RunningInstance,Credentials> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils,
SpotInstanceRequestToAWSRunningInstance spotConverter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected Logger logger
AWSEC2CreateNodesInGroupThenAddToSet
@Inject
protected AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Client client,
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.Cache<RunningInstance,Credentials> instanceToCredentials,
Map<String,Credentials> credentialStore,
ComputeUtils utils,
SpotInstanceRequestToAWSRunningInstance spotConverter)
createNodesInRegionAndZone
protected Iterable<? extends RunningInstance> createNodesInRegionAndZone(String region,
String zone,
String group,
int count,
Template template,
RunInstancesOptions instanceOptions)
- Overrides:
createNodesInRegionAndZone
in class EC2CreateNodesInGroupThenAddToSet
addTagsToInstancesInRegion
public Iterable<? extends RunningInstance> addTagsToInstancesInRegion(Map<String,String> metadata,
Iterable<? extends RunningInstance> iterable,
String region,
String group)
Copyright © 2009-2011 jclouds. All Rights Reserved.