org.jclouds.cloudstack.functions
Class ZoneIdToZone
java.lang.Object
com.google.common.cache.CacheLoader<Long,Zone>
org.jclouds.cloudstack.functions.ZoneIdToZone
public class ZoneIdToZone
- extends com.google.common.cache.CacheLoader<Long,Zone>
Defines a cache that allows a zone to be looked up by its ID.
- Author:
- Richard Downer
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 |
ZoneIdToZone
@Inject
public ZoneIdToZone(CloudStackClient client)
load
public Zone load(Long zoneId)
throws Exception
- Specified by:
load
in class com.google.common.cache.CacheLoader<Long,Zone>
- Throws:
Exception
Copyright © 2009-2012 jclouds. All Rights Reserved.