Package io.prestosql.server
Class CoordinatorModule
- java.lang.Object
-
- io.airlift.configuration.AbstractConfigurationAwareModule
-
- io.prestosql.server.CoordinatorModule
-
- All Implemented Interfaces:
com.google.inject.Module
,io.airlift.configuration.ConfigurationAwareModule
public class CoordinatorModule extends io.airlift.configuration.AbstractConfigurationAwareModule
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CoordinatorModule.ExecutorCleanup
-
Constructor Summary
Constructors Constructor Description CoordinatorModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueryPerformanceFetcher
createQueryPerformanceFetcher(QueryManager queryManager)
static ExecutorService
createStatementResponseCoreExecutor()
static io.airlift.concurrent.BoundedExecutor
createStatementResponseExecutor(ExecutorService coreExecutor, TaskManagerConfig config)
static ScheduledExecutorService
createStatementTimeoutExecutor(TaskManagerConfig config)
static ExecutorService
createTransactionFinishingExecutor()
static ScheduledExecutorService
createTransactionIdleCheckExecutor()
static TransactionManager
createTransactionManager(TransactionManagerConfig config, CatalogManager catalogManager, EmbedVersion embedVersion, ScheduledExecutorService idleCheckExecutor, ExecutorService finishingExecutor)
static ResourceGroupManager<?>
getResourceGroupManager(ResourceGroupManager manager)
protected void
setup(com.google.inject.Binder binder)
-
-
-
Method Detail
-
setup
protected void setup(com.google.inject.Binder binder)
- Specified by:
setup
in classio.airlift.configuration.AbstractConfigurationAwareModule
-
getResourceGroupManager
@Provides @Singleton public static ResourceGroupManager<?> getResourceGroupManager(ResourceGroupManager manager)
-
createQueryPerformanceFetcher
@Provides @Singleton public static QueryPerformanceFetcher createQueryPerformanceFetcher(QueryManager queryManager)
-
createStatementResponseCoreExecutor
@Provides @Singleton public static ExecutorService createStatementResponseCoreExecutor()
-
createStatementResponseExecutor
@Provides @Singleton public static io.airlift.concurrent.BoundedExecutor createStatementResponseExecutor(ExecutorService coreExecutor, TaskManagerConfig config)
-
createStatementTimeoutExecutor
@Provides @Singleton public static ScheduledExecutorService createStatementTimeoutExecutor(TaskManagerConfig config)
-
createTransactionIdleCheckExecutor
@Provides @Singleton public static ScheduledExecutorService createTransactionIdleCheckExecutor()
-
createTransactionFinishingExecutor
@Provides @Singleton public static ExecutorService createTransactionFinishingExecutor()
-
createTransactionManager
@Provides @Singleton public static TransactionManager createTransactionManager(TransactionManagerConfig config, CatalogManager catalogManager, EmbedVersion embedVersion, ScheduledExecutorService idleCheckExecutor, ExecutorService finishingExecutor)
-
-