public class AllocateAndAddFloatingIpToNode extends Object implements com.google.common.base.Function<AtomicReference<NodeAndNovaTemplateOptions>,AtomicReference<NodeMetadata>>
| Constructor and Description |
|---|
AllocateAndAddFloatingIpToNode(com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
NovaApi novaApi,
com.google.common.cache.LoadingCache<RegionAndId,Iterable<? extends FloatingIP>> floatingIpCache,
CleanupServer cleanupServer) |
| Modifier and Type | Method and Description |
|---|---|
AtomicReference<NodeMetadata> |
apply(AtomicReference<NodeAndNovaTemplateOptions> input) |
String |
toString() |
@Named(value="jclouds.compute") protected Logger logger
@Inject
public AllocateAndAddFloatingIpToNode(@Named(value="jclouds.compute.timeout.node-running")
com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
NovaApi novaApi,
@Named(value="FLOATINGIP")
com.google.common.cache.LoadingCache<RegionAndId,Iterable<? extends FloatingIP>> floatingIpCache,
CleanupServer cleanupServer)
public AtomicReference<NodeMetadata> apply(AtomicReference<NodeAndNovaTemplateOptions> input)
apply in interface com.google.common.base.Function<AtomicReference<NodeAndNovaTemplateOptions>,AtomicReference<NodeMetadata>>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.