|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.luc.cs.trull.EmptyComponent
edu.luc.cs.trull.TerminatingComponent
edu.luc.cs.trull.task.AbstractTaskWorker
edu.luc.cs.trull.task.PooledTaskWorker
public class PooledTaskWorker
A Worker that uses a multi-threaded PooledExecutor to perform its Task.
Task| Field Summary | |
|---|---|
private static EDU.oswego.cs.dl.util.concurrent.Executor |
executor
|
private static org.apache.log4j.Logger |
logger
|
| Fields inherited from class edu.luc.cs.trull.task.AbstractTaskWorker |
|---|
firstTime, RUNNING, start, state, STOPPED, SUSPENDED, task |
| Constructor Summary | |
|---|---|
PooledTaskWorker(Task task)
|
|
| Method Summary | |
|---|---|
protected EDU.oswego.cs.dl.util.concurrent.Executor |
getExecutor()
The executor used by this worker to schedule portions of the work. |
| Methods inherited from class edu.luc.cs.trull.task.AbstractTaskWorker |
|---|
resume, setStart, setTask, start, stop, suspend |
| Methods inherited from class edu.luc.cs.trull.TerminatingComponent |
|---|
fireTermination, getParent, getTermEvent, scheduleTermination, setTerminationListener |
| Methods inherited from class edu.luc.cs.trull.EmptyComponent |
|---|
addPropertyChangeListener, getPropertyChangeListeners, getTerminationListener, propertyChange, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final EDU.oswego.cs.dl.util.concurrent.Executor executor
private static org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public PooledTaskWorker(Task task)
| Method Detail |
|---|
protected final EDU.oswego.cs.dl.util.concurrent.Executor getExecutor()
AbstractTaskWorker
getExecutor in class AbstractTaskWorker
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||