org.jclouds.openstack.nova.v2_0.compute.loaders
Class LoadFloatingIpsForInstance
java.lang.Object
com.google.common.cache.CacheLoader<ZoneAndId,Iterable<? extends FloatingIP>>
org.jclouds.openstack.nova.v2_0.compute.loaders.LoadFloatingIpsForInstance
@Singleton
public class LoadFloatingIpsForInstance
- extends com.google.common.cache.CacheLoader<ZoneAndId,Iterable<? extends FloatingIP>>
Each zone may or may not have the floating ip function present. In order to safely proceed, we
must allow the user to determine if a zone has floating ip services before attempting to use
them.
| Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader |
com.google.common.cache.CacheLoader.InvalidCacheLoadException |
| Methods inherited from class com.google.common.cache.CacheLoader |
asyncReloading, from, from, loadAll, reload |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoadFloatingIpsForInstance
@Inject
public LoadFloatingIpsForInstance(NovaApi api)
load
public Iterable<? extends FloatingIP> load(ZoneAndId key)
throws Exception
- Specified by:
load in class com.google.common.cache.CacheLoader<ZoneAndId,Iterable<? extends FloatingIP>>
- Throws:
Exception
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.