|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
no.ubicollab.osgi.HouseKeeperThread
public class HouseKeeperThread
The Class HouseKeeperThread run as a seperate thread and is responsible for picking out
clients and plugins which have not been in contact for a time duration specified in
GlobalSettings
.
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 | |
---|---|
HouseKeeperThread(PluginList pList,
ClientList cList)
|
Method Summary | |
---|---|
static void |
resetThread()
This method will reset the running member of the HouseKeeperThread thread. |
void |
run()
The code in this method starts to run as a thread when the inherited Thread#start have been called. |
static void |
stopThread()
This method will stop the HouseKeeperThread thread. |
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 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HouseKeeperThread(PluginList pList, ClientList cList)
Method Detail |
---|
public void run()
Thread#start
have been called.
run
in interface java.lang.Runnable
run
in class java.lang.Thread
Thread.run()
public static void stopThread()
HouseKeeperThread
thread.
public static void resetThread()
HouseKeeperThread
thread. This must be
done before the thread can be started again.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |