|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.util.concurrency.job.ConcurrentJob
public abstract class ConcurrentJob
This class forms the basis for a job that can be run concurrently.
| Constructor Summary | |
|---|---|
ConcurrentJob(StatusReportable report)
Construct a concurrent job. |
|
| Method Summary | |
|---|---|
abstract int |
loadWorkload()
Load the subtasks. |
abstract void |
performJobUnit(JobUnitContext context)
Perform one job unit. |
void |
process()
Process the job. |
void |
reportStatus(JobUnitContext context,
java.lang.String status)
Report the status for this job. |
abstract java.lang.Object |
requestNextTask()
Request the next task to be processed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcurrentJob(StatusReportable report)
report - The object to report status to.| Method Detail |
|---|
public abstract int loadWorkload()
public abstract void performJobUnit(JobUnitContext context)
context - The context for the job unit.public void process()
public void reportStatus(JobUnitContext context,
java.lang.String status)
context - The job context.status - The status to report.public abstract java.lang.Object requestNextTask()
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||