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) class
TaskThread.Buffer
-
Field Summary
Fields Modifier and Type Field Description protected TaskThread.Buffer
buffer
protected static org.apache.commons.logging.Log
logger
(package private) static int
MAX_TASK_QUEUE
protected boolean
stop
protected java.lang.Thread
thread
-
Constructor Summary
Constructors Constructor Description TaskThread()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Task
getNextTask()
void
join()
void
run()
void
runTask(Task task)
void
start()
void
stop()
-
-
-
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
-
-