org.openprivacy.reptile.tasks
Class TaskThread

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--org.openprivacy.reptile.tasks.TaskThread
All Implemented Interfaces:
java.lang.Runnable

public class TaskThread
extends java.lang.Thread

Handles actually running the necessary tasks as threads.

Version:
$Id: TaskThread.java,v 1.23 2002/07/06 05:57:57 burton Exp $
Author:
burtonator

Field Summary
static long INITIAL_SLEEP
          Sleep for 10 seconds when Reptile first starts up so that full initialization can take place.
static long SLEEP
          Length of time to sleep between tasks runs.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
TaskThread()
          Create a new TaskThread instance
 
Method Summary
 void run()
          Run the thread and continually execute the task.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INITIAL_SLEEP

public static final long INITIAL_SLEEP
Sleep for 10 seconds when Reptile first starts up so that full initialization can take place.

See Also:
Constant Field Values

SLEEP

public static final long SLEEP
Length of time to sleep between tasks runs. Most of the time we will just continue to sleep.

See Also:
Constant Field Values
Constructor Detail

TaskThread

public TaskThread()
Create a new TaskThread instance

Method Detail

run

public void run()
Run the thread and continually execute the task.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread