|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.Continuation.ExternalContinuationRunnable rice.Continuation.ExternalRunnable
This class is used when you want to run some task on the selector thread and wait for it to return its result. Override execute() to perform the operation and then use invoke to schedule its operation. The current thread will block until the operation returns a result or an exception.
Constructor Summary | |
Continuation.ExternalRunnable()
|
Method Summary | |
protected abstract java.lang.Object |
execute()
DESCRIBE THE METHOD |
protected void |
execute(Continuation c)
DESCRIBE THE METHOD |
Methods inherited from class rice.Continuation.ExternalContinuationRunnable |
invoke, invoke, run |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Continuation.ExternalRunnable()
Method Detail |
protected abstract java.lang.Object execute() throws java.lang.Exception
java.lang.Exception
- DESCRIBE THE EXCEPTIONprotected void execute(Continuation c) throws java.lang.Exception
execute
in class Continuation.ExternalContinuationRunnable
c
- DESCRIBE THE PARAMETER
java.lang.Exception
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |