|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.ifeth.sehr.client.api.ThreadSEHR
'Watch Dog' and background thread to do some stuff like collecting updates on 'expensive' connections, clean-up unused objects etc.
This thread is running continuously in the background. The purpose is to
monitor the connection thread ThreadDataTransfer
and to transfer data
periodically if user defines an intervall >0 at
DlgConfig#doClose(boolean)
Field Summary |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
ThreadSEHR(SessionHandler sess)
Constructor with a given session object which states our application. |
Method Summary | |
void |
clear()
Stop the SEHR thread... |
void |
run()
Run the 'never ending' thread :) The thread reflect two use cases update data if user sets an refreshing intervall check if a connection is still required on 'expensive' lines |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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 ThreadSEHR(SessionHandler sess)
Method Detail |
public void run()
The thread reflect two use cases
public void clear()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |