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 Logger
protected final RemoveFloatingIpFromNodeAndDeallocate
protected 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, wait
Methods 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:
apply
in interfacecom.google.common.base.Function<NodeMetadata,
Boolean> - Specified by:
apply
in interfaceFunction<NodeMetadata,
Boolean>
-
removeSecurityGroupCreatedByJcloudsAndInvalidateCache
-