public class CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap extends Object implements Callable<Void>, com.google.common.base.Function<AtomicReference<NodeMetadata>,Void>
Modifier and Type | Class and Description |
---|---|
static interface |
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory |
@Named(value="jclouds.compute") protected Logger logger
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named(value="jclouds.compute.timeout.node-running") com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>> pollNodeRunning, OpenSocketFinder openSocketFinder, com.google.common.base.Function<TemplateOptions,Statement> templateOptionsToStatement, InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory, TemplateOptions options, AtomicReference<NodeMetadata> node, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named(value="jclouds.compute.timeout.node-running") com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>> pollNodeRunning, GetNodeMetadataStrategy getNode, OpenSocketFinder openSocketFinder, com.google.common.base.Function<TemplateOptions,Statement> templateOptionsToStatement, InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory, TemplateOptions options, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
public Void apply(AtomicReference<NodeMetadata> input)
apply
in interface com.google.common.base.Function<AtomicReference<NodeMetadata>,Void>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.