Class CliIndexerServerModule

  • All Implemented Interfaces:
    com.google.inject.Module

    public class CliIndexerServerModule
    extends Object
    implements com.google.inject.Module
    • Constructor Detail

      • CliIndexerServerModule

        public CliIndexerServerModule​(Properties properties)
    • Method Detail

      • configure

        public void configure​(com.google.inject.Binder binder)
        Specified by:
        configure in interface com.google.inject.Module
      • getServer

        @Provides
        public org.eclipse.jetty.server.Server getServer​(com.google.inject.Injector injector,
                                                         org.apache.druid.java.util.common.lifecycle.Lifecycle lifecycle,
                                                         DruidNode node,
                                                         ServerConfig config,
                                                         TLSServerConfig TLSServerConfig)
      • makeAdjustedServerConfig

        public 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. 2 dedicated threads are added for lookup listening, which also has a QoS filter applied.