|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.ourgrid.gridmachine.useragent.IdlenessCheckerDaemon
public class IdlenessCheckerDaemon
This idleness detector is not multiplataform (I'm sorry) as JAVA is. It was made to detect if the user is using hers workstation at Linux. At the development it will be increasely done by adding more paramether to be more and more sure about its assertion. Created on 10/20/2004
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
IdlenessCheckerDaemon(UserAgentServerImpl ua,
int timeForCicle)
Initializes the daemon that will check (until be killed) the machine idleness. |
Method Summary | |
---|---|
void |
run()
Thread that do what this class have to do :) |
protected void |
shutdown()
Sends a signal for the deamon to shutdown |
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 |
Constructor Detail |
---|
public IdlenessCheckerDaemon(UserAgentServerImpl ua, int timeForCicle)
ua
- the UserAgent managed by this daemontimeForCicle
- the time in minutes that the computer have to be idle
before the UA starts.Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Runnable.run()
protected void shutdown()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |