org.jclouds.ec2.compute.suppliers
Class RegionAndNameToImageSupplier

java.lang.Object
  extended by org.jclouds.ec2.compute.suppliers.RegionAndNameToImageSupplier
All Implemented Interfaces:
com.google.common.base.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>>

Author:
Adrian Cole

Constructor Summary
protected RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage, long expirationSecs)
           
 
Method Summary
 com.google.common.cache.LoadingCache<RegionAndName,? extends Image> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegionAndNameToImageSupplier

@Inject
protected RegionAndNameToImageSupplier(com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage,
                                              @Named(value="jclouds.session-interval")
                                              long expirationSecs)
Method Detail

get

public com.google.common.cache.LoadingCache<RegionAndName,? extends Image> get()
Specified by:
get in interface com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>>


Copyright © 2009-2012 jclouds. All Rights Reserved.