Documentation of 'org.encog.util.concurrency.job.JobUnitContext' Java class
JobUnitContext
org.encog.util.concurrency.job

Class JobUnitContext



  • public class JobUnitContext
    extends java.lang.Object
    The job unit context contains context information to be passed to a job unit. This tells the thread what to work on.
    • Constructor Detail

      • JobUnitContext

        public JobUnitContext()
    • Method Detail

      • getJobUnit

        public java.lang.Object getJobUnit()
        Returns:
        The job unit.
      • getOwner

        public ConcurrentJob getOwner()
        Returns:
        The concurrent job that owns this task.
      • getTaskNumber

        public int getTaskNumber()
        Returns:
        The task number.
      • setJobUnit

        public void setJobUnit(java.lang.Object jobUnit)
        Set the job unit.
        Parameters:
        jobUnit - The job unit.
      • setOwner

        public void setOwner(ConcurrentJob owner)
        Set the job owner.
        Parameters:
        owner - The job owner.
      • setTaskNumber

        public void setTaskNumber(int taskNumber)
        Set the task number.
        Parameters:
        taskNumber - The task number.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.