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
-
-
Field Summary
-
Fields inherited from class org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet
instanceToRegionAndName
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Api client, com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, boolean generateInstanceNames, CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize, PresentSpotRequestsAndInstances 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Set<RunningInstance>
createNodesInRegionAndZone(String region, String zone, String group, int count, Template template, RunInstancesOptions instanceOptions)
-
Methods inherited from class org.jclouds.ec2.compute.strategy.EC2CreateNodesInGroupThenAddToSet
execute
-
-
-
-
Constructor Detail
-
AWSEC2CreateNodesInGroupThenAddToSet
@Inject protected AWSEC2CreateNodesInGroupThenAddToSet(AWSEC2Api client, @Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, @Named("jclouds.compute.timeout.node-running") com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, @Named("jclouds.ec2.generate-instance-names") boolean generateInstanceNames, CreateKeyPairPlacementAndSecurityGroupsAsNeededAndReturnRunOptions createKeyPairAndSecurityGroupsAsNeededAndReturncustomize, PresentSpotRequestsAndInstances 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)
-
-
Method Detail
-
createNodesInRegionAndZone
protected Set<RunningInstance> createNodesInRegionAndZone(String region, String zone, String group, int count, Template template, RunInstancesOptions instanceOptions)
- Overrides:
createNodesInRegionAndZone
in classEC2CreateNodesInGroupThenAddToSet
-
-