|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--AutoSubmitEngine
This class is a Singleton Thread that carries out the automatic submission of Querys. This class sleeps most of the day and wakes up to submit Querys just after midnight. Whether Querys are actually submitted depends on the settings in each Query's QueryDescriptor object. All Querys in the BioQuery user directory are checked.
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Method Summary | |
static void |
main(java.lang.String[] args)
main simply calls shutDownEngine which gives an alternate way to shut down
the AutoSubmitEngine Thread (by typing in the command line of the server:
java AutoSubmitEngine. |
void |
run()
This Thread periodically checks the time, and just after midnight begins asking Query files if it is time to autosubmit them. |
static void |
shutDownEngine()
Shuts down the AutoSubmitEngine and terminates the Thread. |
static void |
startAutoSubmitEngine(java.lang.String bioqueryDirectory)
Starts the AutoSubmitEngine, which runs forever as a separate Thread. |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, 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 |
| Method Detail |
public static void startAutoSubmitEngine(java.lang.String bioqueryDirectory)
public static void shutDownEngine()
public void run()
run in class java.lang.Threadpublic static void main(java.lang.String[] args)
main simply calls shutDownEngine which gives an alternate way to shut down
the AutoSubmitEngine Thread (by typing in the command line of the server:
java AutoSubmitEngine.
Please note that the FileManagerServlet restarts the
AutoSubmitEngine whenever a user logs into the server!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||