public class SyncProxy extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Object |
invoke(Object o,
Method method,
Object[] args) |
static <T> T |
proxy(Class<T> clazz,
Object async,
com.google.common.cache.LoadingCache<ClassMethodArgs,Object> delegateMap,
Map<Class<?>,Class<?>> sync2Async,
Map<String,Long> timeouts) |
String |
toString() |
public static <T> T proxy(Class<T> clazz, Object async, @Named(value="sync") com.google.common.cache.LoadingCache<ClassMethodArgs,Object> delegateMap, Map<Class<?>,Class<?>> sync2Async, Map<String,Long> timeouts) throws IllegalArgumentException, SecurityException, NoSuchMethodException
public Object invoke(Object o, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
Copyright © 2009-2012 jclouds. All Rights Reserved.