targs.processor(new DistributedRPC.Processor<DistributedRPC.Iface>(
service));
ThreadPoolExecutor executor = new ThreadPoolExecutor(workerThreadNum,
workerThreadNum, 60, TimeUnit.SECONDS,
new ArrayBlockingQueue(queueSize));
targs.executorService(executor);
THsHaServer handlerServer = new THsHaServer(targs);
LOG.info("Successfully init Handler Server " + port);