|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.fostore.Main.TimeoutRunnable
The Timeout Runnable class. This class watches a timer, and whent the timer expires, the thread terminates. This causes the Main thread to fall through its join on the timeout thread and completes the shutdown process.
Field Summary | |
(package private) int |
timeoutMillis
The number of milliseconds to sleep before terminating this thread. |
Constructor Summary | |
(package private) |
Main.TimeoutRunnable(int timeout)
Construct an instance of the TimeoutRunnable with the specified number of seconds to sleep before terminating. |
Method Summary | |
void |
run()
Run the timeout thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
int timeoutMillis
Constructor Detail |
Main.TimeoutRunnable(int timeout)
timeout
- the number of seconds before timeout.Method Detail |
public void run()
run
in interface java.lang.Runnable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |