Package org.jclouds.ec2.compute.strategy
Class EC2DestroyNodeStrategy
java.lang.Object
org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
- All Implemented Interfaces:
 DestroyNodeStrategy
- Direct Known Subclasses:
 AWSEC2DestroyNodeStrategy
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final EC2Apiprotected final com.google.common.cache.LoadingCache<RegionAndName, String> protected final GetNodeMetadataStrategyprotected Logger - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEC2DestroyNodeStrategy(EC2Api client, GetNodeMetadataStrategy getNode, com.google.common.cache.LoadingCache<RegionAndName, String> elasticIpCache)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected voiddestroyInstanceInRegion(String instanceId, String region) destroyNode(String id) protected voidreleaseAnyPublicIpForInstanceInRegion(String instanceId, String region)  
- 
Field Details
- 
logger
 - 
client
 - 
getNode
 - 
elasticIpCache
 
 - 
 - 
Constructor Details
- 
EC2DestroyNodeStrategy
@Inject protected EC2DestroyNodeStrategy(EC2Api client, GetNodeMetadataStrategy getNode, @Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName, String> elasticIpCache)  
 - 
 - 
Method Details
- 
destroyNode
- Specified by:
 destroyNodein interfaceDestroyNodeStrategy- Returns:
 - null if the node wasn't found
 
 - 
releaseAnyPublicIpForInstanceInRegion
 - 
destroyInstanceInRegion
 
 -