Class AWSEC2DestroyNodeStrategy
- java.lang.Object
-
- org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
-
- org.jclouds.aws.ec2.compute.strategy.AWSEC2DestroyNodeStrategy
-
- All Implemented Interfaces:
DestroyNodeStrategy
@Singleton public class AWSEC2DestroyNodeStrategy extends EC2DestroyNodeStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected AWSEC2Apiclientprotected Map<String,Credentials>credentialStore-
Fields inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
elasticIpCache, getNode, logger
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAWSEC2DestroyNodeStrategy(AWSEC2Api client, GetNodeMetadataStrategy getNode, com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, Map<String,Credentials> credentialStore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddestroyInstanceInRegion(String id, String region)-
Methods inherited from class org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
destroyNode, releaseAnyPublicIpForInstanceInRegion
-
-
-
-
Field Detail
-
client
protected final AWSEC2Api client
-
credentialStore
protected final Map<String,Credentials> credentialStore
-
-
Constructor Detail
-
AWSEC2DestroyNodeStrategy
@Inject protected AWSEC2DestroyNodeStrategy(AWSEC2Api client, GetNodeMetadataStrategy getNode, @Named("ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, Map<String,Credentials> credentialStore)
-
-
Method Detail
-
destroyInstanceInRegion
protected void destroyInstanceInRegion(String id, String region)
- Overrides:
destroyInstanceInRegionin classEC2DestroyNodeStrategy
-
-