TProcessor processor = new ChronosService.Processor(chronosImplement);
Args rpcArgs = new Args(serverTransport);
rpcArgs.processor(processor);
rpcArgs.protocolFactory(proFactory);
rpcArgs.maxWorkerThreads(maxThread);
thriftServer = new TThreadPoolServer(rpcArgs);
}
/**
* Initialize persistent timestamp and start to serve as active master.