Class RegionAndNameToImageSupplier
- java.lang.Object
-
- org.jclouds.ec2.compute.suppliers.RegionAndNameToImageSupplier
-
- All Implemented Interfaces:
com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>
,Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>
@Singleton public class RegionAndNameToImageSupplier extends Object implements com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage, long expirationSecs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.cache.LoadingCache<RegionAndName,? extends Image>
get()
-
-
-
Constructor Detail
-
RegionAndNameToImageSupplier
@Inject protected RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage, @Named("jclouds.session-interval") long expirationSecs)
-
-
Method Detail
-
get
public com.google.common.cache.LoadingCache<RegionAndName,? extends Image> get()
- Specified by:
get
in interfacecom.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>
- Specified by:
get
in interfaceSupplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>
-
-