public class ServerMainModule
extends io.airlift.configuration.AbstractConfigurationAwareModule
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerMainModule.ExecutorCleanup |
| Constructor and Description |
|---|
ServerMainModule(SqlParserOptions sqlParserOptions) |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
createAsyncHttpResponseCoreExecutor() |
static io.airlift.concurrent.BoundedExecutor |
createAsyncHttpResponseExecutor(ExecutorService coreExecutor,
TaskManagerConfig config) |
static ScheduledExecutorService |
createAsyncHttpTimeoutExecutor(TaskManagerConfig config) |
static ScheduledExecutorService |
createExchangeExecutor(ExchangeClientConfig config) |
protected void |
setup(com.google.inject.Binder binder) |
public ServerMainModule(SqlParserOptions sqlParserOptions)
protected void setup(com.google.inject.Binder binder)
setup in class io.airlift.configuration.AbstractConfigurationAwareModule@Provides @Singleton public static ScheduledExecutorService createExchangeExecutor(ExchangeClientConfig config)
@Provides @Singleton public static ExecutorService createAsyncHttpResponseCoreExecutor()
@Provides @Singleton public static io.airlift.concurrent.BoundedExecutor createAsyncHttpResponseExecutor(ExecutorService coreExecutor, TaskManagerConfig config)
@Provides @Singleton public static ScheduledExecutorService createAsyncHttpTimeoutExecutor(TaskManagerConfig config)
Copyright © 2012–2019. All rights reserved.