示例#1
0
 public static void setThread(Runnable thread) {
   tp.add(thread);
 }
示例#2
0
 public static void startThread() {
   tp.start();
 }
示例#3
0
 public static void stopThread() {
   tp.stop();
 }
示例#4
0
 public static void setThread(Thread thread, int second) {
   tp = new IThreadPoolFixedImpl(second);
   tp.add(thread);
 }