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
ConstructorsModifierConstructorDescriptionprotected
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
Modifier and TypeMethodDescriptionprotected 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 Details
-
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 Details
-
createNodesInRegionAndZone
protected Set<RunningInstance> createNodesInRegionAndZone(String region, String zone, String group, int count, Template template, RunInstancesOptions instanceOptions) - Overrides:
createNodesInRegionAndZone
in classEC2CreateNodesInGroupThenAddToSet
-