org.jclouds.ec2.compute.functions
Class RegionAndIdToImage
java.lang.Object
com.google.common.cache.CacheLoader<RegionAndName,Image>
org.jclouds.ec2.compute.functions.RegionAndIdToImage
@Singleton
public class RegionAndIdToImage
- extends com.google.common.cache.CacheLoader<RegionAndName,Image>
- Author:
- Adrian Cole
Nested classes/interfaces inherited from class com.google.common.cache.CacheLoader |
com.google.common.cache.CacheLoader.InvalidCacheLoadException |
Methods inherited from class com.google.common.cache.CacheLoader |
from, from, loadAll, reload |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected Logger logger
RegionAndIdToImage
@Inject
public RegionAndIdToImage(EC2ImageParser parser,
EC2Client sync)
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-2012 jclouds. All Rights Reserved.