org.jclouds.joyent.cloudapi.v6_5.compute.strategy
Class ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet

java.lang.Object
  extended by org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
      extended by org.jclouds.joyent.cloudapi.v6_5.compute.strategy.ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet
All Implemented Interfaces:
org.jclouds.compute.strategy.CreateNodesInGroupThenAddToSet

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

Author:
Adrian Cole

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, executor, listNodesStrategy, logger, namingConvention
 
Constructor Summary
protected ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(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, ExecutorService executor, com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> keyCache, boolean defaultToAutogenerateKeys)
           
 
Method Summary
 Map<?,Future<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
createNodeInGroupWithNameAndTemplate, getNextNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet

@Inject
protected ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(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")
                                                                                                ExecutorService executor,
                                                                                                com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> keyCache,
                                                                                                @Named(value="jclouds.joyent-cloudapi.autogenerate-keys")
                                                                                                boolean defaultToAutogenerateKeys)
Method Detail

execute

public Map<?,Future<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


Copyright © 2009-2012 jclouds. All Rights Reserved.