check openhub url multi thread~
This commit is contained in:
parent
35286cb78b
commit
3631f4178b
|
@ -78,7 +78,7 @@ public class HandleOpenhubPrj implements Runnable{
|
||||||
|
|
||||||
public static void main(String [] args){
|
public static void main(String [] args){
|
||||||
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml");
|
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml");
|
||||||
new Thread(new HandleOpenhubPrj("thread1",0,30000)).start();
|
new Thread(new HandleOpenhubPrj("thread1",6000,30000)).start();
|
||||||
new Thread(new HandleOpenhubPrj("thread2",30000,30000)).start();
|
new Thread(new HandleOpenhubPrj("thread2",30000,30000)).start();
|
||||||
new Thread(new HandleOpenhubPrj("thread3",60000,30000)).start();
|
new Thread(new HandleOpenhubPrj("thread3",60000,30000)).start();
|
||||||
new Thread(new HandleOpenhubPrj("thread4",90000,30000)).start();
|
new Thread(new HandleOpenhubPrj("thread4",90000,30000)).start();
|
||||||
|
|
Loading…
Reference in New Issue