Package org.apache.drill.exec.server
Class BootStrapContext
java.lang.Object
org.apache.drill.exec.server.BootStrapContext
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
ConstructorDescriptionBootStrapContext
(DrillConfig config, CaseInsensitiveMap<OptionDefinition> definitions, ScanResult classpathScan) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
io.netty.channel.EventLoopGroup
io.netty.channel.EventLoopGroup
io.netty.channel.EventLoopGroup
com.codahale.metrics.MetricRegistry
-
Constructor Details
-
BootStrapContext
public BootStrapContext(DrillConfig config, CaseInsensitiveMap<OptionDefinition> definitions, ScanResult classpathScan) throws DrillbitStartupException - Throws:
DrillbitStartupException
-
-
Method Details
-
getHostName
-
getExecutor
-
getScanExecutor
-
getScanDecodeExecutor
-
getConfig
-
getDefinitions
-
getControlLoopGroup
public io.netty.channel.EventLoopGroup getControlLoopGroup() -
getDataClientLoopGroup
public io.netty.channel.EventLoopGroup getDataClientLoopGroup() -
getDataServerLoopGroup
public io.netty.channel.EventLoopGroup getDataServerLoopGroup() -
getMetrics
public com.codahale.metrics.MetricRegistry getMetrics() -
getAllocator
-
getClasspathScan
-
getAuthProvider
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-