Package org.jclouds.compute.strategy
Class CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
- java.lang.Object
-
- org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
-
- All Implemented Interfaces:
com.google.common.base.Function<AtomicReference<NodeMetadata>,Void>
,Callable<Void>
,Function<AtomicReference<NodeMetadata>,Void>
public class CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap extends Object implements Callable<Void>, com.google.common.base.Function<AtomicReference<NodeMetadata>,Void>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap.Factory
-
Constructor Summary
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
apply(AtomicReference<NodeMetadata> input)
Void
call()
-
-
-
Field Detail
-
logger
@Named("jclouds.compute") protected Logger logger
-
-
Constructor Detail
-
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named("jclouds.compute.timeout.node-running") com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>> pollNodeRunning, OpenSocketFinder openSocketFinder, NodeAndTemplateOptionsToStatement nodeAndTemplateOptionsToStatement, InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory, TemplateOptions options, AtomicReference<NodeMetadata> node, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
-
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named("jclouds.compute.timeout.node-running") com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>> pollNodeRunning, GetNodeMetadataStrategy getNode, OpenSocketFinder openSocketFinder, NodeAndTemplateOptionsToStatement nodeAndTemplateOptionsToStatement, InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory, TemplateOptions options, Set<NodeMetadata> goodNodes, Map<NodeMetadata,Exception> badNodes, com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
-
-
Method Detail
-
apply
public Void apply(AtomicReference<NodeMetadata> input)
- Specified by:
apply
in interfacecom.google.common.base.Function<AtomicReference<NodeMetadata>,Void>
- Specified by:
apply
in interfaceFunction<AtomicReference<NodeMetadata>,Void>
-
-