org.apache.turbine.services.schedule

## Class WorkerThread

- java.lang.Object
- - org.apache.turbine.services.schedule.WorkerThread

- All Implemented Interfaces:
    Runnable

      public class WorkerThread
      extends Object
      implements Runnable

  Wrapper for a `JobEntry` to actually perform the job's action.
  Version:
    $Id: WorkerThread.java 534527 2007-05-02 16:10:59Z tv $
  Author:
    Dave Bryson, Daniel Rall, Henning P. Schmiedehausen, Quinton McCombs

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `WorkerThread(JobEntry je)` Creates a new worker to run the specified `JobEntry`.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `run()` Run the job.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WorkerThread

          public WorkerThread(JobEntry je)

      Creates a new worker to run the specified `JobEntry`.
      Parameters:
        `je` - The `JobEntry` to create a worker for.

  - ### Method Detail

    - #### run

          public void run()

      Run the job.
      Specified by:
        `run` in interface `Runnable`

Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.