@Singleton public class ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet extends CreateNodesWithGroupEncodedIntoNameThenAddToSet
CreateNodesWithGroupEncodedIntoNameThenAddToSet.AddNodeaddNodeWithGroupStrategy, customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, executor, listNodesStrategy, logger, namingConvention| Modifier | Constructor and Description | 
|---|---|
protected  | 
ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy,
                                                                              ListNodesStrategy listNodesStrategy,
                                                                              GroupNamingConvention.Factory namingConvention,
                                                                              CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
                                                                              ExecutorService executor,
                                                                              com.google.common.cache.LoadingCache<DatacenterAndName,KeyAndPrivateKey> keyCache,
                                                                              boolean defaultToAutogenerateKeys)  | 
| Modifier and Type | Method and Description | 
|---|---|
Map<?,Future<Void>> | 
execute(String group,
       int count,
       Template template,
       Set<NodeMetadata> goodNodes,
       Map<NodeMetadata,Exception> badNodes,
       com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
This implementation gets a list of acceptable node names to encode the group into, then it
 simultaneously runs the nodes and applies options to them. 
 | 
createNodeInGroupWithNameAndTemplate, getNextNames@Inject protected ApplyJoyentCloudTemplateOptionsCreateNodesWithGroupEncodedIntoNameThenAddToSet(CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy, ListNodesStrategy listNodesStrategy, GroupNamingConvention.Factory namingConvention, 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)
public Map<?,Future<Void>> execute(String group, int count, Template template, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
CreateNodesWithGroupEncodedIntoNameThenAddToSetexecute in interface CreateNodesInGroupThenAddToSetexecute in class CreateNodesWithGroupEncodedIntoNameThenAddToSetCopyright © 2009-2013 jclouds. All Rights Reserved.