}
int port = Integer.parseInt(prop.getProperty("port", "9090"));
int numThreads = Integer.parseInt(prop.getProperty("num_threads", "32"));
BdbJavaServer pstore = new BdbJavaServer(prop);
TNonblockingServerTransport trans = new TNonblockingServerSocket(port);
THsHaServer.Args args = new THsHaServer.Args(trans);
args.transportFactory(new TFramedTransport.Factory());
args.processor(new MapKeeper.Processor(pstore));
args.workerThreads(numThreads);
TServer server = new THsHaServer(args);