org.jclouds.openstack.nova.v2_0.compute.strategy
Class ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet

java.lang.Object
  extended by org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
      extended by org.jclouds.openstack.nova.v2_0.compute.strategy.ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet
All Implemented Interfaces:
org.jclouds.compute.strategy.CreateNodesInGroupThenAddToSet

@Singleton
public class ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet
extends org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.AddNode
 
Field Summary
 
Fields inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
addNodeWithGroupStrategy, customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, listNodesStrategy, logger, namingConvention, userExecutor
 
Constructor Summary
protected ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(org.jclouds.compute.strategy.CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy, org.jclouds.compute.strategy.ListNodesStrategy listNodesStrategy, org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention, org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, com.google.common.util.concurrent.ListeningExecutorService userExecutor, AllocateAndAddFloatingIpToNode createAndAddFloatingIpToNode, com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupCache, com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache, NovaApi novaApi)
           
 
Method Summary
protected  com.google.common.util.concurrent.ListenableFuture<AtomicReference<org.jclouds.compute.domain.NodeMetadata>> createNodeInGroupWithNameAndTemplate(String group, String name, org.jclouds.compute.domain.Template template)
           
 Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> execute(String group, int count, org.jclouds.compute.domain.Template template, Set<org.jclouds.compute.domain.NodeMetadata> goodNodes, Map<org.jclouds.compute.domain.NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.config.CustomizationResponse> customizationResponses)
           
 
Methods inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
getNextNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet

@Inject
protected ApplyNovaTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(org.jclouds.compute.strategy.CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy,
                                                                                         org.jclouds.compute.strategy.ListNodesStrategy listNodesStrategy,
                                                                                         org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention,
                                                                                         org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
                                                                                         @Named(value="jclouds.user-threads")
                                                                                         com.google.common.util.concurrent.ListeningExecutorService userExecutor,
                                                                                         AllocateAndAddFloatingIpToNode createAndAddFloatingIpToNode,
                                                                                         com.google.common.cache.LoadingCache<ZoneAndName,SecurityGroupInZone> securityGroupCache,
                                                                                         com.google.common.cache.LoadingCache<ZoneAndName,KeyPair> keyPairCache,
                                                                                         NovaApi novaApi)
Method Detail

execute

public Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> execute(String group,
                                                                               int count,
                                                                               org.jclouds.compute.domain.Template template,
                                                                               Set<org.jclouds.compute.domain.NodeMetadata> goodNodes,
                                                                               Map<org.jclouds.compute.domain.NodeMetadata,Exception> badNodes,
                                                                               com.google.common.collect.Multimap<org.jclouds.compute.domain.NodeMetadata,org.jclouds.compute.config.CustomizationResponse> customizationResponses)
Specified by:
execute in interface org.jclouds.compute.strategy.CreateNodesInGroupThenAddToSet
Overrides:
execute in class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet

createNodeInGroupWithNameAndTemplate

protected com.google.common.util.concurrent.ListenableFuture<AtomicReference<org.jclouds.compute.domain.NodeMetadata>> createNodeInGroupWithNameAndTemplate(String group,
                                                                                                                                                            String name,
                                                                                                                                                            org.jclouds.compute.domain.Template template)
Overrides:
createNodeInGroupWithNameAndTemplate in class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.