com.isti.util
Class ExtendedArchiveManager.ArchiveItemWorkerThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.isti.util.IstiThread
          extended by com.isti.util.IstiNotifyThread
              extended by com.isti.util.ExtendedArchiveManager.AbstractWorkerThread
                  extended by com.isti.util.ExtendedArchiveManager.ArchiveItemWorkerThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
ExtendedArchiveManager

protected static class ExtendedArchiveManager.ArchiveItemWorkerThread
extends ExtendedArchiveManager.AbstractWorkerThread

Class ArchiveItemWorkerThread fetches items from the queue and adds them to the archive.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class com.isti.util.ExtendedArchiveManager.AbstractWorkerThread
archiveManagerVector, DEF_WORKER_SLEEPTIME, sleepTime
 
Fields inherited from class com.isti.util.IstiThread
DEFAULT_TERMINATE_WAIT_TIME, terminateFlag
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ExtendedArchiveManager.ArchiveItemWorkerThread(long sleepTime)
           
 
Method Summary
 void processArchiveManager(ExtendedArchiveManager am)
          Processes an archive manager.
 void terminate()
          Terminates this thread if the thread is not terminated and alive.
 
Methods inherited from class com.isti.util.ExtendedArchiveManager.AbstractWorkerThread
addArchiveManager, getArchiveManager, getNumArchiveManagers, removeArchiveManager, run
 
Methods inherited from class com.isti.util.IstiNotifyThread
sleep
 
Methods inherited from class com.isti.util.IstiThread
clearThreadWaitNotifyFlag, isTerminated, nextThreadNum, notifyThread, start, terminate, waitForNotify, waitForNotify, waitForTerminate, waitForTerminate, wasStarted
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExtendedArchiveManager.ArchiveItemWorkerThread

public ExtendedArchiveManager.ArchiveItemWorkerThread(long sleepTime)
Method Detail

processArchiveManager

public void processArchiveManager(ExtendedArchiveManager am)
Processes an archive manager.

Specified by:
processArchiveManager in class ExtendedArchiveManager.AbstractWorkerThread
Parameters:
am - the archive manager.

terminate

public void terminate()
Terminates this thread if the thread is not terminated and alive.

Overrides:
terminate in class IstiNotifyThread