org.apache.turbine.services.schedule
Class WorkerThread

java.lang.Object
  extended byorg.apache.turbine.services.schedule.WorkerThread
All Implemented Interfaces:
java.lang.Runnable

public class WorkerThread
extends java.lang.Object
implements java.lang.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
WorkerThread(JobEntry je)
          Creates a new worker to run the specified JobEntry.
 
Method Summary
 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 java.lang.Runnable


Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.