|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
gnu.mapping.Future
public class Future
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
RunnableClosure |
closure
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
Future(Procedure action)
|
|
Future(Procedure action,
CallContext parentContext)
|
|
Future(Procedure action,
InPort in,
OutPort out,
OutPort err)
|
Method Summary | |
---|---|
CallContext |
getCallContext()
Get the CallContext we use for this Thread. |
static Future |
make(Procedure action,
Environment penvironment,
InPort in,
OutPort out,
OutPort err)
|
void |
run()
|
java.lang.String |
toString()
|
java.lang.Object |
waitForResult()
|
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, yield |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public RunnableClosure closure
Constructor Detail |
---|
public Future(Procedure action, CallContext parentContext)
public Future(Procedure action, InPort in, OutPort out, OutPort err)
public Future(Procedure action)
Method Detail |
---|
public static Future make(Procedure action, Environment penvironment, InPort in, OutPort out, OutPort err)
public final CallContext getCallContext()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.Object waitForResult() throws java.lang.Throwable
java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |