org.jclouds.compute.util
Class ComputeUtils

java.lang.Object
  extended by org.jclouds.compute.util.ComputeUtils

@Singleton
public class ComputeUtils
extends Object


Constructor Summary
ComputeUtils(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory, com.google.common.util.concurrent.ListeningExecutorService userExecutor)
           
 
Method Summary
 Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> customizeNodesAndAddToGoodMapOrPutExceptionIntoBadMap(TemplateOptions options, Iterable<NodeMetadata> runningNodes, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputeUtils

@Inject
public ComputeUtils(CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory customizeNodeAndAddToGoodMapOrPutExceptionIntoBadMapFactory,
                           @Named(value="jclouds.user-threads")
                           com.google.common.util.concurrent.ListeningExecutorService userExecutor)
Method Detail

customizeNodesAndAddToGoodMapOrPutExceptionIntoBadMap

public Map<?,com.google.common.util.concurrent.ListenableFuture<Void>> customizeNodesAndAddToGoodMapOrPutExceptionIntoBadMap(TemplateOptions options,
                                                                                                                             Iterable<NodeMetadata> runningNodes,
                                                                                                                             Set<NodeMetadata> goodNodes,
                                                                                                                             Map<NodeMetadata,Exception> badNodes,
                                                                                                                             com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)


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