org.jclouds.gae.config
Class MultithreadedAsyncGoogleAppEngineConfigurationModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.jclouds.gae.config.GoogleAppEngineConfigurationModule
          extended by org.jclouds.gae.config.MultithreadedAsyncGoogleAppEngineConfigurationModule
All Implemented Interfaces:
com.google.inject.Module

@Beta
public class MultithreadedAsyncGoogleAppEngineConfigurationModule
extends GoogleAppEngineConfigurationModule

Configures AsyncGaeHttpCommandExecutorService.

Author:
Adrian Cole

Constructor Summary
MultithreadedAsyncGoogleAppEngineConfigurationModule()
           
MultithreadedAsyncGoogleAppEngineConfigurationModule(com.google.common.util.concurrent.ListeningExecutorService currentRequestThreadFactory)
          Used when you are creating multiple contexts in the same app.
MultithreadedAsyncGoogleAppEngineConfigurationModule(com.google.common.base.Supplier<com.google.common.util.concurrent.ListeningExecutorService> memoizedCurrentRequestExecutorService)
          Used when you are creating multiple contexts in the same app.
 
Method Summary
protected  void bindHttpCommandExecutorService()
           
 
Methods inherited from class org.jclouds.gae.config.GoogleAppEngineConfigurationModule
configure, provideURLFetchService
 
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
 

Constructor Detail

MultithreadedAsyncGoogleAppEngineConfigurationModule

public MultithreadedAsyncGoogleAppEngineConfigurationModule()

MultithreadedAsyncGoogleAppEngineConfigurationModule

public MultithreadedAsyncGoogleAppEngineConfigurationModule(com.google.common.util.concurrent.ListeningExecutorService currentRequestThreadFactory)
Used when you are creating multiple contexts in the same app.

Parameters:
currentRequestThreadFactory -
See Also:
CurrentRequestExecutorServiceModule#currentRequestThreadFactory

MultithreadedAsyncGoogleAppEngineConfigurationModule

public MultithreadedAsyncGoogleAppEngineConfigurationModule(com.google.common.base.Supplier<com.google.common.util.concurrent.ListeningExecutorService> memoizedCurrentRequestExecutorService)
Used when you are creating multiple contexts in the same app.

Parameters:
memoizedCurrentRequestExecutorService -
See Also:
CurrentRequestExecutorServiceModule.memoizedCurrentRequestExecutorService
Method Detail

bindHttpCommandExecutorService

protected void bindHttpCommandExecutorService()
Overrides:
bindHttpCommandExecutorService in class GoogleAppEngineConfigurationModule


Copyright © 2009-2012 jclouds. All Rights Reserved.