|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
no.ubicollab.osgi.TimeKeeper
public class TimeKeeper
The Class TimeKeeper
run as a seperate thread and is responsible
for picking up new ClientRequest
from Service Discovery Manager,
and try to fulfill these.
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 | |
---|---|
TimeKeeper(PluginServiceRegistryImpl srPlugin)
This Constructor creates the neccessary reference to the PluginServiceRegistryImpl . |
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 TimeKeeper 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 TimeKeeper(PluginServiceRegistryImpl srPlugin)
PluginServiceRegistryImpl
.
srPlugin
- the instance that invoked this class.PluginServiceRegistryImpl.PluginServiceRegistryImpl()
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()
TimeKeeper
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 |