Class CleanupResources
java.lang.Object
org.jclouds.openstack.nova.v2_0.compute.functions.CleanupResources
- All Implemented Interfaces:
 com.google.common.base.Function<NodeMetadata,,Boolean> Function<NodeMetadata,Boolean> 
@Singleton
public class CleanupResources
extends Object
implements com.google.common.base.Function<NodeMetadata,Boolean> 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Loggerprotected final RemoveFloatingIpFromNodeAndDeallocateprotected final com.google.common.cache.LoadingCache<RegionAndName, SecurityGroup>  - 
Constructor Summary
ConstructorsConstructorDescriptionCleanupResources(RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate, com.google.common.cache.LoadingCache<RegionAndName, SecurityGroup> securityGroupMap, SecurityGroupExtension securityGroupExtension)  - 
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.common.base.Function
equals 
- 
Field Details
- 
logger
 - 
removeFloatingIpFromNodeAndDeallocate
 - 
securityGroupMap
 
 - 
 - 
Constructor Details
- 
CleanupResources
@Inject public CleanupResources(RemoveFloatingIpFromNodeAndDeallocate removeFloatingIpFromNodeAndDeallocate, com.google.common.cache.LoadingCache<RegionAndName, SecurityGroup> securityGroupMap, SecurityGroupExtension securityGroupExtension)  
 - 
 - 
Method Details
- 
apply
- Specified by:
 applyin interfacecom.google.common.base.Function<NodeMetadata,Boolean> - Specified by:
 applyin interfaceFunction<NodeMetadata,Boolean> 
 - 
removeSecurityGroupCreatedByJcloudsAndInvalidateCache
 
 -