@Singleton public class IpAddressesLoadingCache extends com.google.common.cache.AbstractLoadingCache<String,String>
LoadingCache for ip addresses. If the requested ip address has been
previously extracted this returns it, if not it calls vbox api.| Constructor and Description |
|---|
IpAddressesLoadingCache(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String idOrName) |
String |
getIfPresent(Object key) |
apply, getAll, getUnchecked, refreshasMap, cleanUp, get, getAllPresent, invalidate, invalidateAll, invalidateAll, put, putAll, size, statsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait@Named(value="jclouds.compute") protected Logger logger
@Inject public IpAddressesLoadingCache(com.google.common.base.Supplier<org.virtualbox_4_1.VirtualBoxManager> manager)
public String get(String idOrName) throws ExecutionException
ExecutionExceptionCopyright © 2009-2013 jclouds. All Rights Reserved.