Package org.globus.ftp.dc
Class TaskThread
- java.lang.Object
-
- org.globus.ftp.dc.TaskThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class TaskThread extends java.lang.Object implements java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classTaskThread.Buffer
-
Field Summary
Fields Modifier and Type Field Description protected TaskThread.Bufferbufferprotected static org.apache.commons.logging.Loglogger(package private) static intMAX_TASK_QUEUEprotected booleanstopprotected java.lang.Threadthread
-
Constructor Summary
Constructors Constructor Description TaskThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskgetNextTask()voidjoin()voidrun()voidrunTask(Task task)voidstart()voidstop()
-
-
-
Field Detail
-
MAX_TASK_QUEUE
static final int MAX_TASK_QUEUE
- See Also:
- Constant Field Values
-
logger
protected static org.apache.commons.logging.Log logger
-
buffer
protected TaskThread.Buffer buffer
-
stop
protected boolean stop
-
thread
protected java.lang.Thread thread
-
-