apollo.gui
Class AutoSaveThread

java.lang.Object
  extended by java.lang.Thread
      extended by apollo.gui.AutoSaveThread
All Implemented Interfaces:
java.lang.Runnable

public class AutoSaveThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AutoSaveThread(java.lang.String autosaveFile, int saveIntervalMinutes)
           
 
Method Summary
 void halt()
           
 void run()
          Queries CurationManager for active curation set.
 void setDataAdapter(ApolloDataAdapterI adapter)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, 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, 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

logger

protected static final org.apache.log4j.Logger logger
Constructor Detail

AutoSaveThread

public AutoSaveThread(java.lang.String autosaveFile,
                      int saveIntervalMinutes)
Method Detail

setDataAdapter

public void setDataAdapter(ApolloDataAdapterI adapter)

halt

public void halt()

run

public void run()
Queries CurationManager for active curation set. For single cur set this is the only cur set. for multi curset this is the last one se

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