|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grizzly.GrizzlyContinuation1x
public class GrizzlyContinuation1x
Constructor Summary | |
---|---|
GrizzlyContinuation1x()
|
Method Summary | |
---|---|
Object |
getObject()
Accessor for the object associated with this continuation |
void |
resume()
Resume an continuation. |
void |
setObject(Object object)
Accessor for the object associated with this continuation |
void |
suspend(long sleepTime)
Suspend the thread for a maximum of sleepTime milliseconds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrizzlyContinuation1x()
Method Detail |
---|
public void suspend(long sleepTime)
suspend
in interface GrizzlyContinuation
sleepTime
- The maximum time to waitpublic void resume() throws Exception
resume
in interface GrizzlyContinuation
Exception
public Object getObject()
getObject
in interface GrizzlyContinuation
public void setObject(Object object)
setObject
in interface GrizzlyContinuation
object
- the object associated with this continuation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |