public class TaskThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
(package private) class |
TaskThread.Buffer |
Modifier and Type | Field and 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 and Description |
---|
TaskThread() |
Modifier and Type | Method and Description |
---|---|
Task |
getNextTask() |
void |
join() |
void |
run() |
void |
runTask(Task task) |
void |
start() |
void |
stop() |
static final int MAX_TASK_QUEUE
protected static org.apache.commons.logging.Log logger
protected TaskThread.Buffer buffer
protected boolean stop
protected java.lang.Thread thread