创建多个线程测试并发性
ExecutorService es= Executors.newFixedThreadPool(200);
for(int i=0; i<500; i++){
es.submit(new Runnable() {
@Override
public void run() {
empService.getEmpById(id);
}
});
}