Class AllocateAndAddFloatingIpToNode
java.lang.Object
org.jclouds.openstack.nova.v2_0.compute.functions.AllocateAndAddFloatingIpToNode
- All Implemented Interfaces:
com.google.common.base.Function<AtomicReference<NodeAndNovaTemplateOptions>,
,AtomicReference<NodeMetadata>> Function<AtomicReference<NodeAndNovaTemplateOptions>,
AtomicReference<NodeMetadata>>
public class AllocateAndAddFloatingIpToNode
extends Object
implements com.google.common.base.Function<AtomicReference<NodeAndNovaTemplateOptions>,AtomicReference<NodeMetadata>>
A function for adding and allocating an ip to a node
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAllocateAndAddFloatingIpToNode
(com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, NovaApi novaApi, com.google.common.cache.LoadingCache<RegionAndId, Iterable<? extends FloatingIpForServer>> floatingIpCache, CleanupResources cleanupResources) -
Method Summary
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 Details
-
logger
-
-
Constructor Details
-
AllocateAndAddFloatingIpToNode
@Inject public AllocateAndAddFloatingIpToNode(@Named("jclouds.compute.timeout.node-running") com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning, NovaApi novaApi, @Named("FLOATINGIP") com.google.common.cache.LoadingCache<RegionAndId, Iterable<? extends FloatingIpForServer>> floatingIpCache, CleanupResources cleanupResources)
-
-
Method Details
-
apply
- Specified by:
apply
in interfacecom.google.common.base.Function<AtomicReference<NodeAndNovaTemplateOptions>,
AtomicReference<NodeMetadata>> - Specified by:
apply
in interfaceFunction<AtomicReference<NodeAndNovaTemplateOptions>,
AtomicReference<NodeMetadata>>
-
toString
-