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