|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.inject.AbstractModule
org.jclouds.concurrent.config.ExecutorServiceModule
public class ExecutorServiceModule
Configures ListeningExecutorService.
Note that this uses threads.
This extends the underlying Future to expose a description (the task's toString) and the submission context (stack trace). The submission stack trace is appended to relevant stack traces on exceptions that are returned, so the user can see the logical chain of execution (in the executor, and where it was passed to the executor).
| Constructor Summary | |
|---|---|
ExecutorServiceModule()
|
|
ExecutorServiceModule(ExecutorService userExecutor,
ExecutorService ioExecutor)
|
|
ExecutorServiceModule(com.google.common.util.concurrent.ListeningExecutorService userExecutor,
com.google.common.util.concurrent.ListeningExecutorService ioExecutor)
|
|
| Method Summary | |
|---|---|
protected void |
configure()
|
| 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 |
|---|
public ExecutorServiceModule()
public ExecutorServiceModule(@Named(value="jclouds.user-threads")
ExecutorService userExecutor,
@Named(value="jclouds.io-worker-threads")
ExecutorService ioExecutor)
public ExecutorServiceModule(@Named(value="jclouds.user-threads")
com.google.common.util.concurrent.ListeningExecutorService userExecutor,
@Named(value="jclouds.io-worker-threads")
com.google.common.util.concurrent.ListeningExecutorService ioExecutor)
| Method Detail |
|---|
protected void configure()
configure in class com.google.inject.AbstractModule
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||