TThreadPoolServer.Options options = new TThreadPoolServer.Options();
options.minWorkerThreads =
options.maxWorkerThreads =
parser.getNumberOfThreads();
TServer server = new TThreadPoolServer(procfactory,
transport,
tfactory,
tfactory,
pfactory,
pfactory,