|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.runtime.values.Value
orc.runtime.sites.Site
orc.runtime.sites.ThreadedPartialSite
public abstract class ThreadedPartialSite
Abstract class for partial sites whose calls may block (the Java thread). A separate thread is created for every call.
| Field Summary |
|---|
| Fields inherited from class orc.runtime.values.Value |
|---|
futureNotReady |
| Constructor Summary | |
|---|---|
ThreadedPartialSite()
|
|
| Method Summary | |
|---|---|
void |
callSite(Args args,
Token caller)
Must be implemented by subclasses to implement the site behavior |
abstract java.lang.Object |
evaluate(Args args)
|
| Methods inherited from class orc.runtime.sites.Site |
|---|
accept, createCall, type |
| Methods inherited from class orc.runtime.values.Value |
|---|
forceArg, forceCall, signal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadedPartialSite()
| Method Detail |
|---|
public void callSite(Args args,
Token caller)
Site
callSite in class Siteargs - list of argument valuescaller - where the result should be sent
public abstract java.lang.Object evaluate(Args args)
throws TokenException
TokenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||