You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/test/com/platform/test/MyTestThread.java

23 lines
387 B

package com.platform.test;
public class MyTestThread extends Thread{
public MyTestThread() {
this.setDaemon(true);
}
@Override
public void run() {
for (int i = 0; i < 1000; i++) {
System.out.println(i);
try {
Thread.sleep(5);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
}