edu.usc.bg
Class Worker

java.lang.Object
  extended by edu.usc.bg.Worker
All Implemented Interfaces:
java.lang.Runnable

public class Worker
extends java.lang.Object
implements java.lang.Runnable


Field Summary
static int maxWorker
           
static java.util.concurrent.atomic.AtomicInteger NumOfWorker
           
 
Method Summary
 void cleanup()
           
static void initInitialWorkerThred()
           
 boolean initThread()
           
 void run()
           
static void setParameters()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NumOfWorker

public static java.util.concurrent.atomic.AtomicInteger NumOfWorker

maxWorker

public static int maxWorker
Method Detail

initInitialWorkerThred

public static void initInitialWorkerThred()

initThread

public boolean initThread()

setParameters

public static void setParameters()

run

public void run()
Specified by:
run in interface java.lang.Runnable

cleanup

public void cleanup()