@Singleton public class AWSEC2DestroyNodeStrategy extends EC2DestroyNodeStrategy
Modifier and Type | Field and Description |
---|---|
protected AWSEC2Client |
client |
protected Map<String,Credentials> |
credentialStore |
elasticIpCache, getNode, logger
Modifier | Constructor and Description |
---|---|
protected |
AWSEC2DestroyNodeStrategy(AWSEC2Client client,
GetNodeMetadataStrategy getNode,
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache,
Map<String,Credentials> credentialStore) |
Modifier and Type | Method and Description |
---|---|
protected void |
destroyInstanceInRegion(String id,
String region) |
destroyNode, releaseAnyPublicIpForInstanceInRegion
protected final AWSEC2Client client
protected final Map<String,Credentials> credentialStore
@Inject protected AWSEC2DestroyNodeStrategy(AWSEC2Client client, GetNodeMetadataStrategy getNode, @Named(value="ELASTICIP") com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache, Map<String,Credentials> credentialStore)
protected void destroyInstanceInRegion(String id, String region)
destroyInstanceInRegion
in class EC2DestroyNodeStrategy
Copyright © 2009-2013 jclouds. All Rights Reserved.