org.jclouds.aws.ec2.compute.suppliers
Class AWSRegionAndNameToImageSupplier
java.lang.Object
org.jclouds.aws.ec2.compute.suppliers.AWSRegionAndNameToImageSupplier
- All Implemented Interfaces:
- com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>>
@Singleton
public class AWSRegionAndNameToImageSupplier
- extends Object
- implements com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>>
- Author:
- Adrian Cole
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
@Named(value="jclouds.compute")
protected Logger logger
AWSRegionAndNameToImageSupplier
@Inject
protected AWSRegionAndNameToImageSupplier(Set<String> regions,
@Named(value="jclouds.ec2.ami-query")
String amiQuery,
@Named(value="jclouds.ec2.cc-regions")
String clusterRegions,
@Named(value="jclouds.ec2.cc-ami-query")
String ccAmiQuery,
com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage,
CallForImages.Factory factory,
Set<String> clusterComputeIds,
@Named(value="jclouds.user-threads")
ExecutorService executor)
get
public com.google.common.cache.Cache<RegionAndName,? extends Image> get()
- Specified by:
get
in interface com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>>
Copyright © 2009-2011 jclouds. All Rights Reserved.