Package org.apache.drill.exec.rpc.user

Examples of org.apache.drill.exec.rpc.user.UserServer


  private final BitCom bitCom;
  private final DrillConfig config;
  boolean useIP = false;
 
  public ServiceEngine(BitComHandler bitComWorker, UserWorker userWorker, BootStrapContext context){
    this.userServer = new UserServer(context.getAllocator().getUnderlyingAllocator(), new NioEventLoopGroup(1, new NamedThreadFactory("UserServer-")), userWorker);
    this.bitCom = new BitComImpl(context, bitComWorker);
    this.config = context.getConfig();
  }
View Full Code Here


  private final DrillConfig config;
  boolean useIP = false;
  private final boolean allowPortHunting;

  public ServiceEngine(ControlMessageHandler controlMessageHandler, UserWorker userWorker, BootStrapContext context, WorkEventBus workBus, DataResponseHandler dataHandler, boolean allowPortHunting){
    this.userServer = new UserServer(context.getAllocator(), TransportCheck.createEventLoopGroup(context.getConfig().getInt(ExecConstants.USER_SERVER_RPC_THREADS), "UserServer-"), userWorker);
    this.controller = new ControllerImpl(context, controlMessageHandler, allowPortHunting);
    this.dataPool = new DataConnectionCreator(context, workBus, dataHandler, allowPortHunting);
    this.config = context.getConfig();
    this.allowPortHunting = allowPortHunting;
  }
View Full Code Here

  private final DrillConfig config;
  boolean useIP = false;
  private final boolean allowPortHunting;

  public ServiceEngine(ControlMessageHandler controlMessageHandler, UserWorker userWorker, BootStrapContext context, WorkEventBus workBus, DataResponseHandler dataHandler, boolean allowPortHunting){
    this.userServer = new UserServer(context.getAllocator(), TransportCheck.createEventLoopGroup(context.getConfig().getInt(ExecConstants.USER_SERVER_RPC_THREADS), "UserServer-"), userWorker);
    this.controller = new ControllerImpl(context, controlMessageHandler, allowPortHunting);
    this.dataPool = new DataConnectionCreator(context, workBus, dataHandler, allowPortHunting);
    this.config = context.getConfig();
    this.allowPortHunting = allowPortHunting;
  }
View Full Code Here

TOP

Related Classes of org.apache.drill.exec.rpc.user.UserServer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.