org.jclouds.ec2.compute.functions
Class RegionAndIdToImage

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

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

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
RegionAndIdToImage(EC2ImageParser parser, EC2Client sync)
           
 
Method Summary
 Image load(RegionAndName key)
           
static String message(RegionAndName key, Exception e)
           
 
Methods inherited from class com.google.common.cache.CacheLoader
from, from
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected Logger logger
Constructor Detail

RegionAndIdToImage

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

load

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

message

public static String message(RegionAndName key,
                             Exception e)


Copyright © 2009-2011 jclouds. All Rights Reserved.