Class JobRunner

  • All Implemented Interfaces:
    Runnable

    public class JobRunner
    extends Object
    implements Runnable
    A runnable class that makes it possible to execute each job in it's own thread. When the agent has found a job to execute it creates one instance of this class and creates a new thread for it to run in. This class checks that there is a free slot available and then uses the configured JobExecutor for the actual execution of the job.
    Version:
    2.0
    Author:
    nicklas
    Last modified
    $Date: 2014-04-09 14:21:20 +0200 (on, 09 apr 2014) $