org.jclouds.googlecomputeengine.compute.strategy
Class CreateNodesWithGroupEncodedIntoNameThenAddToSet
java.lang.Object
org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
org.jclouds.googlecomputeengine.compute.strategy.CreateNodesWithGroupEncodedIntoNameThenAddToSet
- All Implemented Interfaces:
- org.jclouds.compute.strategy.CreateNodesInGroupThenAddToSet
public class CreateNodesWithGroupEncodedIntoNameThenAddToSet
- extends org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet
- Author:
- David Alves
| Nested classes/interfaces inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet |
org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet.AddNode |
| Fields inherited from class org.jclouds.compute.strategy.impl.CreateNodesWithGroupEncodedIntoNameThenAddToSet |
addNodeWithGroupStrategy, customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, listNodesStrategy, logger, namingConvention, userExecutor |
|
Constructor Summary |
protected |
CreateNodesWithGroupEncodedIntoNameThenAddToSet(org.jclouds.compute.strategy.CreateNodeWithGroupEncodedIntoName addNodeWithGroupStrategy,
org.jclouds.compute.strategy.ListNodesStrategy listNodesStrategy,
org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention,
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
GoogleComputeEngineApi api,
com.google.common.base.Supplier<String> userProject,
com.google.common.base.Predicate<AtomicReference<Operation>> operationDonePredicate,
Long operationCompleteCheckInterval,
Long operationCompleteCheckTimeout,
com.google.common.cache.LoadingCache<NetworkAndAddressRange,Network> networkMap,
FirewallTagNamingConvention.Factory firewallTagNamingConvention)
|
|
Method Summary |
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 |
createNodeInGroupWithNameAndTemplate, getNextNames |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXTERIOR_RANGE
public static final String EXTERIOR_RANGE
- See Also:
- Constant Field Values
DEFAULT_INTERNAL_NETWORK_RANGE
public static final String DEFAULT_INTERNAL_NETWORK_RANGE
- See Also:
- Constant Field Values
CreateNodesWithGroupEncodedIntoNameThenAddToSet
@Inject
protected CreateNodesWithGroupEncodedIntoNameThenAddToSet(org.jclouds.compute.strategy.CreateNodeWithGroupEncodedIntoName addNodeWithGroupStrategy,
org.jclouds.compute.strategy.ListNodesStrategy listNodesStrategy,
org.jclouds.compute.functions.GroupNamingConvention.Factory namingConvention,
@Named(value="jclouds.user-threads")
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
GoogleComputeEngineApi api,
com.google.common.base.Supplier<String> userProject,
@Named(value="global")
com.google.common.base.Predicate<AtomicReference<Operation>> operationDonePredicate,
@Named(value="jclouds.google-compute-engine.operation-complete-interval")
Long operationCompleteCheckInterval,
@Named(value="jclouds.google-compute-engine.operation-complete-timeout")
Long operationCompleteCheckTimeout,
com.google.common.cache.LoadingCache<NetworkAndAddressRange,Network> networkMap,
FirewallTagNamingConvention.Factory firewallTagNamingConvention)
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
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.