public class CliIndexerServerModule extends Object implements com.google.inject.Module
| Constructor and Description |
|---|
CliIndexerServerModule(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
org.eclipse.jetty.server.Server |
getServer(com.google.inject.Injector injector,
Lifecycle lifecycle,
DruidNode node,
ServerConfig config,
TLSServerConfig TLSServerConfig) |
ServerConfig |
makeAdjustedServerConfig(ServerConfig oldConfig)
Adjusts the ServerConfig such that we double the number of configured HTTP threads,
with one half allocated using QoS to chat handler requests, and the other half for other requests.
|
TaskIdResponseHeaderFilterHolder |
taskIdResponseHeaderFilterHolderBuilder(DataSourceTaskIdHolder taskIdHolder) |
public CliIndexerServerModule(Properties properties)
public void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public TaskIdResponseHeaderFilterHolder taskIdResponseHeaderFilterHolderBuilder(DataSourceTaskIdHolder taskIdHolder)
@Provides
public org.eclipse.jetty.server.Server getServer(com.google.inject.Injector injector,
Lifecycle lifecycle,
DruidNode node,
ServerConfig config,
TLSServerConfig TLSServerConfig)
public ServerConfig makeAdjustedServerConfig(ServerConfig oldConfig)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.