Package org.jclouds.ec2.compute.loaders
Class RegionAndIdToImage
- java.lang.Object
-
- com.google.common.cache.CacheLoader<RegionAndName,Image>
-
- org.jclouds.ec2.compute.loaders.RegionAndIdToImage
-
@Singleton public class RegionAndIdToImage extends com.google.common.cache.CacheLoader<RegionAndName,Image>
-
-
Constructor Summary
Constructors Constructor Description RegionAndIdToImage(EC2ImageParser parser, EC2Api sync)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
load(RegionAndName key)
static String
message(RegionAndName key, Exception e)
-
-
-
Field Detail
-
logger
protected Logger logger
-
-
Constructor Detail
-
RegionAndIdToImage
@Inject public RegionAndIdToImage(EC2ImageParser parser, EC2Api sync)
-
-
Method Detail
-
load
public Image load(RegionAndName key) throws ExecutionException
- Specified by:
load
in classcom.google.common.cache.CacheLoader<RegionAndName,Image>
- Throws:
ExecutionException
-
message
public static String message(RegionAndName key, Exception e)
-
-