org.jclouds.openstack.nova.v2_0.compute.functions
Class RemoveFloatingIpFromNodeAndDeallocate

java.lang.Object
  extended by org.jclouds.openstack.nova.v2_0.compute.functions.RemoveFloatingIpFromNodeAndDeallocate
All Implemented Interfaces:
com.google.common.base.Function<ZoneAndId,ZoneAndId>

public class RemoveFloatingIpFromNodeAndDeallocate
extends Object
implements com.google.common.base.Function<ZoneAndId,ZoneAndId>

A function for removing and deallocating an ip address from a node

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
RemoveFloatingIpFromNodeAndDeallocate(NovaApi novaApi, com.google.common.cache.LoadingCache<ZoneAndId,Iterable<FloatingIP>> floatingIpCache)
           
 
Method Summary
 ZoneAndId apply(ZoneAndId id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

RemoveFloatingIpFromNodeAndDeallocate

@Inject
public RemoveFloatingIpFromNodeAndDeallocate(NovaApi novaApi,
                                                    @Named(value="FLOATINGIP")
                                                    com.google.common.cache.LoadingCache<ZoneAndId,Iterable<FloatingIP>> floatingIpCache)
Method Detail

apply

public ZoneAndId apply(ZoneAndId id)
Specified by:
apply in interface com.google.common.base.Function<ZoneAndId,ZoneAndId>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.