public class SyncProxy extends Object implements InvocationHandler
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<?> |
getDeclaring() |
int |
hashCode() |
Object |
invoke(Object o,
Method method,
Object[] args) |
static <T> T |
proxy(com.google.common.base.Function<ClassMethodArgsAndReturnVal,com.google.common.base.Optional<Object>> optionalConverter,
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(com.google.common.base.Function<ClassMethodArgsAndReturnVal,com.google.common.base.Optional<Object>> optionalConverter, 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 Class<?> getDeclaring()
public Object invoke(Object o, Method method, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
Copyright © 2009-2013 jclouds. All Rights Reserved.