org.jclouds.ec2.compute.loaders
Class RegionAndIdToImage

java.lang.Object
  extended by com.google.common.cache.CacheLoader<RegionAndName,org.jclouds.compute.domain.Image>
      extended by org.jclouds.ec2.compute.loaders.RegionAndIdToImage

@Singleton
public class RegionAndIdToImage
extends com.google.common.cache.CacheLoader<RegionAndName,org.jclouds.compute.domain.Image>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader
com.google.common.cache.CacheLoader.InvalidCacheLoadException
 
Field Summary
protected  org.jclouds.logging.Logger logger
           
 
Constructor Summary
RegionAndIdToImage(EC2ImageParser parser, EC2Api sync)
           
 
Method Summary
 org.jclouds.compute.domain.Image load(RegionAndName key)
           
static String message(RegionAndName key, Exception e)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
asyncReloading, from, from, loadAll, reload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected org.jclouds.logging.Logger logger
Constructor Detail

RegionAndIdToImage

@Inject
public RegionAndIdToImage(EC2ImageParser parser,
                                 EC2Api sync)
Method Detail

load

public org.jclouds.compute.domain.Image load(RegionAndName key)
                                      throws ExecutionException
Specified by:
load in class com.google.common.cache.CacheLoader<RegionAndName,org.jclouds.compute.domain.Image>
Throws:
ExecutionException

message

public static String message(RegionAndName key,
                             Exception e)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.