org.jclouds.compute.strategy
Class CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
java.lang.Object
org.jclouds.compute.strategy.CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
- All Implemented Interfaces:
- com.google.common.base.Function<NodeMetadata,Void>, Callable<Void>
public class CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
- extends Object
- implements Callable<Void>, com.google.common.base.Function<NodeMetadata,Void>
- Author:
- Adrian Cole
Constructor Summary |
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(com.google.common.base.Predicate<NodeMetadata> nodeRunning,
GetNodeMetadataStrategy getNode,
RetryIfSocketNotYetOpen socketTester,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.base.Function<TemplateOptions,Statement> templateOptionsToStatement,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
TemplateOptions options,
NodeMetadata node,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
|
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(com.google.common.base.Predicate<NodeMetadata> nodeRunning,
GetNodeMetadataStrategy getNode,
RetryIfSocketNotYetOpen socketTester,
ComputeServiceConstants.Timeouts timeouts,
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.google.common.base.Function |
equals |
logger
@Named(value="jclouds.compute")
protected Logger logger
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named(value="NODE_RUNNING")
com.google.common.base.Predicate<NodeMetadata> nodeRunning,
GetNodeMetadataStrategy getNode,
RetryIfSocketNotYetOpen socketTester,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.base.Function<TemplateOptions,Statement> templateOptionsToStatement,
InitializeRunScriptOnNodeOrPlaceInBadMap.Factory initScriptRunnerFactory,
TemplateOptions options,
@Nullable
NodeMetadata node,
Set<NodeMetadata> goodNodes,
Map<NodeMetadata,Exception> badNodes,
com.google.common.collect.Multimap<NodeMetadata,CustomizationResponse> customizationResponses)
CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap
public CustomizeNodeAndAddToGoodMapOrPutExceptionIntoBadMap(@Named(value="NODE_RUNNING")
com.google.common.base.Predicate<NodeMetadata> nodeRunning,
GetNodeMetadataStrategy getNode,
RetryIfSocketNotYetOpen socketTester,
ComputeServiceConstants.Timeouts timeouts,
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)
call
public Void call()
- Specified by:
call
in interface Callable<Void>
apply
public Void apply(NodeMetadata input)
- Specified by:
apply
in interface com.google.common.base.Function<NodeMetadata,Void>
Copyright © 2009-2011 jclouds. All Rights Reserved.