org.jclouds.aws.ec2.compute.suppliers
Class AWSEC2ImageSupplier

java.lang.Object
  extended by org.jclouds.aws.ec2.compute.suppliers.AWSEC2ImageSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<Set<? extends Image>>

@Singleton
public class AWSEC2ImageSupplier
extends Object
implements com.google.common.base.Supplier<Set<? extends Image>>

Author:
Adrian Cole

Nested Class Summary
static class AWSEC2ImageSupplier.QueryStringToMultimap
           
 
Field Summary
protected  Logger logger
           
 
Constructor Summary
protected AWSEC2ImageSupplier(com.google.common.base.Supplier<Set<String>> regions, String amiQuery, String clusterRegions, String ccAmiQuery, com.google.common.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache, CallForImages.Factory factory, Set<String> clusterComputeIds, ExecutorService executor)
           
 
Method Summary
 Set<? extends Image> get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

@Named(value="jclouds.compute")
protected Logger logger
Constructor Detail

AWSEC2ImageSupplier

@Inject
protected AWSEC2ImageSupplier(com.google.common.base.Supplier<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.base.Supplier<com.google.common.cache.LoadingCache<RegionAndName,? extends Image>> cache,
                                     CallForImages.Factory factory,
                                     Set<String> clusterComputeIds,
                                     @Named(value="jclouds.user-threads")
                                     ExecutorService executor)
Method Detail

get

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


Copyright © 2009-2012 jclouds. All Rights Reserved.