org.jclouds.trmk.vcloud_0_8.compute.strategy
Class TerremarkEncodeTagIntoNameRunNodesAndAddToSetStrategy
java.lang.Object
org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
org.jclouds.trmk.vcloud_0_8.compute.strategy.TerremarkEncodeTagIntoNameRunNodesAndAddToSetStrategy
- All Implemented Interfaces:
- CreateNodesInGroupThenAddToSet
@Singleton
public class TerremarkEncodeTagIntoNameRunNodesAndAddToSetStrategy
- extends CreateNodesWithGroupEncodedIntoNameThenAddToSet
creates futures that correlate to
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerremarkEncodeTagIntoNameRunNodesAndAddToSetStrategy
@Inject
protected TerremarkEncodeTagIntoNameRunNodesAndAddToSetStrategy(CreateNodeWithGroupEncodedIntoName addNodeWithTagStrategy,
ListNodesStrategy listNodesStrategy,
@Named(value="NAMING_CONVENTION")
String nodeNamingConvention,
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
@Named(value="jclouds.user-threads")
ExecutorService executor,
CreateNewKeyPairUnlessUserSpecifiedOtherwise createNewKeyPairUnlessUserSpecifiedOtherwise)
execute
public Map<?,Future<Void>> execute(String tag,
int count,
Template template,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
- Description copied from class:
CreateNodesWithGroupEncodedIntoNameThenAddToSet
- 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.
- Specified by:
execute
in interface CreateNodesInGroupThenAddToSet
- Overrides:
execute
in class CreateNodesWithGroupEncodedIntoNameThenAddToSet
Copyright © 2009-2012 jclouds. All Rights Reserved.