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