org.apache.jetspeed.scheduler
Class WorkerThread

java.lang.Object
  extended by org.apache.jetspeed.scheduler.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 516448 2007-03-09 16:25:47Z ate $
Author:
Dave Bryson, Daniel Rall

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 © 1999-2009 Apache Software Foundation. All Rights Reserved.