|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
server.callbacks.Notifier
public class Notifier
| 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 | |
|---|---|
Notifier(int id,
int pri,
AsyncCallback list)
|
|
| Method Summary | |
|---|---|
long |
getElapsedCallbackTime()
Gets the time since the last callback was started based on the current system time. |
long |
getElapsedCallbackTime(long curr)
Sets the time since the last callback was started based on the system time passed into the method. |
boolean |
isCallbackActive()
Gets whether this notifier is currently executing a callback. |
void |
resetCallbackTime()
Resets the elapsed callback time to 0. |
void |
run()
|
void |
setRequest(CallbackRequest c)
Called by CallbackList.waitForCallback() to set the next callback request to execute. |
void |
timeToStop()
Sets the stop flag which will cause the run() method to terminate after completing current activity |
| 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 Notifier(int id,
int pri,
AsyncCallback list)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void setRequest(CallbackRequest c)
public void timeToStop()
public long getElapsedCallbackTime()
public long getElapsedCallbackTime(long curr)
public boolean isCallbackActive()
public void resetCallbackTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||