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