org.jclouds.ec2.compute.strategy
Class EC2DestroyNodeStrategy
java.lang.Object
org.jclouds.ec2.compute.strategy.EC2DestroyNodeStrategy
- All Implemented Interfaces:
- org.jclouds.compute.strategy.DestroyNodeStrategy
@Singleton
public class EC2DestroyNodeStrategy
- extends Object
- implements org.jclouds.compute.strategy.DestroyNodeStrategy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected org.jclouds.logging.Logger logger
client
protected final EC2Api client
getNode
protected final org.jclouds.compute.strategy.GetNodeMetadataStrategy getNode
elasticIpCache
protected final com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache
EC2DestroyNodeStrategy
@Inject
protected EC2DestroyNodeStrategy(EC2Api client,
org.jclouds.compute.strategy.GetNodeMetadataStrategy getNode,
@Named(value="ELASTICIP")
com.google.common.cache.LoadingCache<RegionAndName,String> elasticIpCache)
destroyNode
public org.jclouds.compute.domain.NodeMetadata destroyNode(String id)
- Specified by:
destroyNode in interface org.jclouds.compute.strategy.DestroyNodeStrategy
releaseAnyPublicIpForInstanceInRegion
protected void releaseAnyPublicIpForInstanceInRegion(String instanceId,
String region)
destroyInstanceInRegion
protected void destroyInstanceInRegion(String instanceId,
String region)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.