|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.server.tomcat.TomcatSleeper
public class TomcatSleeper
A Sleeper that works with Tomcat CometEvents
| Constructor Summary | |
|---|---|
TomcatSleeper(org.apache.catalina.CometEvent event)
|
|
| Method Summary | |
|---|---|
void |
goToSleep(java.lang.Runnable awakening)
'halt' the current execution in some way. |
void |
wakeUp()
This method should attempt to resume the execution. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TomcatSleeper(org.apache.catalina.CometEvent event)
event - The request into which we store this as an attribute| Method Detail |
|---|
public void goToSleep(java.lang.Runnable awakening)
SleeperRunnable so the system can schedule it at an
appropriate time.
goToSleep in interface Sleeperawakening - The action to take when Sleeper.wakeUp() is calledpublic void wakeUp()
Sleeper
wakeUp in interface Sleeper
|
Copyright ¨ 2008 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||