public class AllocateAndAddFloatingIpToNode extends Object implements com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>>
Constructor and Description |
---|
AllocateAndAddFloatingIpToNode(com.google.common.base.Predicate<AtomicReference<NodeMetadata>> nodeRunning,
NovaApi novaApi,
com.google.common.cache.LoadingCache<ZoneAndId,Iterable<? extends FloatingIP>> floatingIpCache) |
Modifier and Type | Method and Description |
---|---|
AtomicReference<NodeMetadata> |
apply(AtomicReference<NodeMetadata> 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<ZoneAndId,Iterable<? extends FloatingIP>> floatingIpCache)
public AtomicReference<NodeMetadata> apply(AtomicReference<NodeMetadata> input)
apply
in interface com.google.common.base.Function<AtomicReference<NodeMetadata>,AtomicReference<NodeMetadata>>
Copyright © 2009-2013 jclouds. All Rights Reserved.