|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.clichart.main.cliserver.SystemExitTimer
public class SystemExitTimer
Keeps a timer with a specified timeout, and if it hasn't been told of any lines of input data being provided within that time, calls System.exit(). This is an attempt to get around occasional very fatal problems with the appearance of a zombie process after generating lots of charts without ever exiting.
| Constructor Summary | |
|---|---|
SystemExitTimer()
|
|
| Method Summary | |
|---|---|
void |
resetTimeout()
Indicate that activity has been seen, so reset the timeout |
void |
setTimeoutPeriod(int timeoutInSeconds)
Reset the timeout period |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemExitTimer()
| Method Detail |
|---|
public void setTimeoutPeriod(int timeoutInSeconds)
public void resetTimeout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||