Class LoadFloatingIpsForInstance
- java.lang.Object
-
- com.google.common.cache.CacheLoader<RegionAndId,Iterable<? extends FloatingIpForServer>>
-
- org.jclouds.openstack.nova.v2_0.compute.loaders.LoadFloatingIpsForInstance
-
@Singleton public class LoadFloatingIpsForInstance extends com.google.common.cache.CacheLoader<RegionAndId,Iterable<? extends FloatingIpForServer>>
Each region may or may not have the floating ip function present. In order to safely proceed, we must allow the user to determine if a region has floating ip services before attempting to use them.
-
-
Constructor Summary
Constructors Constructor Description LoadFloatingIpsForInstance(NovaApi api)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<? extends FloatingIpForServer>
load(RegionAndId key)
-
-
-
Constructor Detail
-
LoadFloatingIpsForInstance
@Inject public LoadFloatingIpsForInstance(NovaApi api)
-
-
Method Detail
-
load
public Iterable<? extends FloatingIpForServer> load(RegionAndId key) throws Exception
- Specified by:
load
in classcom.google.common.cache.CacheLoader<RegionAndId,Iterable<? extends FloatingIpForServer>>
- Throws:
Exception
-
-