|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.util.concurrency.job.JobUnitContext
public class JobUnitContext
The job unit context contains context information to be passed to a job unit. This tells the thread what to work on.
| Constructor Summary | |
|---|---|
JobUnitContext()
|
|
| Method Summary | |
|---|---|
Object |
getJobUnit()
|
ConcurrentJob |
getOwner()
|
int |
getTaskNumber()
|
void |
setJobUnit(Object jobUnit)
Set the job unit. |
void |
setOwner(ConcurrentJob owner)
Set the job owner. |
void |
setTaskNumber(int taskNumber)
Set the task number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JobUnitContext()
| Method Detail |
|---|
public Object getJobUnit()
public ConcurrentJob getOwner()
public int getTaskNumber()
public void setJobUnit(Object jobUnit)
jobUnit - The job unit.public void setOwner(ConcurrentJob owner)
owner - The job owner.public void setTaskNumber(int taskNumber)
taskNumber - The task number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||