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