org.jclouds.rest.internal
Class AsyncRestClientProxy<T>
java.lang.Object
org.jclouds.rest.internal.AsyncRestClientProxy<T>
- All Implemented Interfaces:
- InvocationHandler
@Singleton
public class AsyncRestClientProxy<T>
- extends Object
- implements InvocationHandler
requestTimeoutMilliseconds
@Inject(optional=true)
@Named(value="jclouds.request-timeout")
protected long requestTimeoutMilliseconds
- maximum duration of an unwrapped http Request
logger
protected Logger logger
AsyncRestClientProxy
@Inject
public AsyncRestClientProxy(com.google.inject.Injector injector,
AsyncRestClientProxy.Factory factory,
RestAnnotationProcessor<T> util,
com.google.inject.TypeLiteral<T> typeLiteral,
@Named(value="async")
com.google.common.cache.Cache<ClassMethodArgs,Object> delegateMap)
invoke
public Object invoke(Object o,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 jclouds. All Rights Reserved.