|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.directwebremoting.server.grizzly.GrizzlyContinuationSleeper
public class GrizzlyContinuationSleeper
A Sleeper that works with Grizzly Continuations
| Constructor Summary | |
|---|---|
GrizzlyContinuationSleeper(javax.servlet.http.HttpServletRequest request)
|
|
| 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 GrizzlyContinuationSleeper(javax.servlet.http.HttpServletRequest request)
request - 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 | |||||||||