org.jclouds.cloudstack.suppliers
Class ZoneIdToZoneSupplier
java.lang.Object
org.jclouds.cloudstack.suppliers.ZoneIdToZoneSupplier
- All Implemented Interfaces:
- com.google.common.base.Supplier<com.google.common.cache.LoadingCache<Long,Zone>>
public class ZoneIdToZoneSupplier
- extends Object
- implements com.google.common.base.Supplier<com.google.common.cache.LoadingCache<Long,Zone>>
Supplies a cache that maps from zone IDs to zones.
- Author:
- Richard Downer
Method Summary |
com.google.common.cache.LoadingCache<Long,Zone> |
get()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ZoneIdToZoneSupplier
@Inject
public ZoneIdToZoneSupplier(com.google.common.cache.CacheLoader<Long,Zone> zoneIdToZone,
@Named(value="jclouds.session-interval")
long expirationSecs)
get
public com.google.common.cache.LoadingCache<Long,Zone> get()
- Specified by:
get
in interface com.google.common.base.Supplier<com.google.common.cache.LoadingCache<Long,Zone>>
Copyright © 2009-2012 jclouds. All Rights Reserved.