com.isti.util
Class ExtendedArchiveManager.ArchiveItemWorkerThread

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.isti.util.IstiThread
          extended bycom.isti.util.IstiNotifyThread
              extended bycom.isti.util.ExtendedArchiveManager.AbstractWorkerThread
                  extended bycom.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.


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, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, 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