|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.rest.config.SyncToAsyncHttpInvocationModule
HttpApiModule
@Deprecated public class SyncToAsyncHttpInvocationModule
supports sync-async mapping
| Field Summary | |
|---|---|
protected Map<Class<?>,Class<?>> |
sync2Async
Deprecated. |
| Constructor Summary | |
|---|---|
SyncToAsyncHttpInvocationModule()
Deprecated. |
|
SyncToAsyncHttpInvocationModule(Map<Class<?>,Class<?>> sync2Async)
Deprecated. |
|
| Method Summary | |
|---|---|
protected void |
configure()
Deprecated. |
static void |
putInvokables(Class<?> sync,
Class<?> async,
com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
Deprecated. |
protected com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> |
seedKnownSync2AsyncInvokables()
Deprecated. seeds well-known invokables. |
protected com.google.common.base.Function<Invocation,Invocation> |
sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
Deprecated. function view of above |
| Methods inherited from class com.google.inject.AbstractModule |
|---|
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final Map<Class<?>,Class<?>> sync2Async
| Constructor Detail |
|---|
public SyncToAsyncHttpInvocationModule()
public SyncToAsyncHttpInvocationModule(Map<Class<?>,Class<?>> sync2Async)
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule@Provides @Singleton protected com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> seedKnownSync2AsyncInvokables()
@Provides @Singleton protected com.google.common.base.Function<Invocation,Invocation> sync2async(com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
InvokeAndCallGetOnFutures,
InvokeSyncToAsyncHttpMethod
public static void putInvokables(Class<?> sync,
Class<?> async,
com.google.common.cache.Cache<com.google.common.reflect.Invokable<?,?>,com.google.common.reflect.Invokable<?,?>> cache)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||