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

java.lang.Object
  extended by 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

Nested Class Summary
static class AWSRegionAndNameToImageSupplier.QueryStringToMultimap
           
 
Field Summary
protected  Logger logger
           
 
Constructor Summary
protected AWSRegionAndNameToImageSupplier(Set<String> regions, String amiQuery, String clusterRegions, String ccAmiQuery, com.google.common.cache.CacheLoader<RegionAndName,Image> regionAndIdToImage, CallForImages.Factory factory, Set<String> clusterComputeIds, ExecutorService executor)
           
 
Method Summary
 com.google.common.cache.Cache<RegionAndName,? 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

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)
Method Detail

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.