|
||||||||||
| 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.EvalSite
orc.lib.util.ThreadSite
public class ThreadSite
Wrap a site call in a (pooled) thread. This is useful if you have a Java site which may be uncooperative. Currently we do not allow you to create non-pooled threads since we want to place a strict bound on thread resource usage per engine.
| Field Summary |
|---|
| Fields inherited from class orc.runtime.values.Value |
|---|
futureNotReady |
| Constructor Summary | |
|---|---|
ThreadSite()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
evaluate(Args args)
|
static Site |
makeThreaded(Site site)
|
| Methods inherited from class orc.runtime.sites.EvalSite |
|---|
callSite |
| 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 ThreadSite()
| Method Detail |
|---|
public java.lang.Object evaluate(Args args)
throws TokenException
evaluate in class EvalSiteTokenExceptionpublic static Site makeThreaded(Site site)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||