org.jclouds.ec2.compute.suppliers
Class RegionAndNameToImageSupplier
java.lang.Object
org.jclouds.ec2.compute.suppliers.RegionAndNameToImageSupplier
- All Implemented Interfaces:
- com.google.common.base.Supplier<com.google.common.cache.Cache<RegionAndName,? extends Image>>
@Singleton
public class RegionAndNameToImageSupplier
- 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
RegionAndNameToImageSupplier
@Inject
protected RegionAndNameToImageSupplier(Set<String> regions,
DescribeImagesParallel describer,
@Named(value="jclouds.ec2.ami-owners")
String[] amiOwners,
EC2ImageParser parser,
com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage)
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>>
getDescribeQueriesForOwnersInRegions
public Iterable<Map.Entry<String,DescribeImagesOptions>> getDescribeQueriesForOwnersInRegions(Set<String> regions,
String[] amiOwners)
getOptionsForOwners
public DescribeImagesOptions getOptionsForOwners(String... amiOwners)
Copyright © 2009-2011 jclouds. All Rights Reserved.