|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorc.trace.DerivedTracer.DerivedTokenTracer
protected abstract class DerivedTracer.DerivedTokenTracer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface orc.trace.TokenTracer |
|---|
TokenTracer.BeforeTrace, TokenTracer.PullTrace, TokenTracer.StoreTrace |
| Field Summary | |
|---|---|
protected TokenTracer |
tracer
|
| Constructor Summary | |
|---|---|
DerivedTracer.DerivedTokenTracer(TokenTracer tracer)
|
|
| Method Summary | |
|---|---|
void |
after(TokenTracer.BeforeTrace before)
Indicate that the right side of a semicolon combinator is continuing. |
TokenTracer.BeforeTrace |
before()
Leaving the left side of a semicolon combinator. |
void |
block(TokenTracer.PullTrace pull)
Block a thread waiting for a future. |
void |
choke(TokenTracer.StoreTrace store)
Killed through the setting of a future. |
void |
die()
Terminate a thread. |
void |
enter(Closure closure)
Enter a closure. |
void |
error(TokenException error)
Report an error. |
TokenTracer |
fork()
Create a new thread. |
SourceLocation |
getSourceLocation()
|
void |
leave(int depth)
Leave "depth" closures EXPERIMENTAL |
void |
print(java.lang.String value,
boolean newline)
Print to stdout. |
void |
publish(java.lang.Object value)
Publish a value from the program. |
TokenTracer.PullTrace |
pull()
Create a new future for a pull. |
void |
receive(java.lang.Object value)
Return from a site call. |
void |
send(java.lang.Object site,
java.lang.Object[] arguments)
Call a site. |
void |
setSourceLocation(SourceLocation location)
|
TokenTracer.StoreTrace |
store(TokenTracer.PullTrace event,
java.lang.Object value)
Store a value for a future. |
void |
unblock(TokenTracer.StoreTrace store)
Receive a future we were waiting for. |
void |
useStored(TokenTracer.StoreTrace storeTrace)
Called when a token reads a value from a group cell which has already been stored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected TokenTracer tracer
| Constructor Detail |
|---|
public DerivedTracer.DerivedTokenTracer(TokenTracer tracer)
| Method Detail |
|---|
public void after(TokenTracer.BeforeTrace before)
TokenTracer
after in interface TokenTracerbefore - the BeforeEvent which triggered this eventpublic TokenTracer.BeforeTrace before()
TokenTracerTokenTracer.die();
otherwise it may be followed by any number of events which happen outside
the scope of the semicolon.
before in interface TokenTracerTokenTracer.after(BeforeTrace).public void block(TokenTracer.PullTrace pull)
TokenTracer
block in interface TokenTracerpublic void choke(TokenTracer.StoreTrace store)
TokenTracerTokenTracer.die().
choke in interface TokenTracerpublic void die()
TokenTracer
die in interface TokenTracerpublic void enter(Closure closure)
TokenTracer
enter in interface TokenTracerpublic void leave(int depth)
TokenTracer
leave in interface TokenTracerpublic void error(TokenException error)
TokenTracerTokenTracer.die().
error in interface TokenTracerpublic TokenTracer fork()
TokenTracer
fork in interface TokenTracerpublic SourceLocation getSourceLocation()
getSourceLocation in interface Located
public void print(java.lang.String value,
boolean newline)
TokenTracer
print in interface TokenTracerpublic void publish(java.lang.Object value)
TokenTracerTokenTracer.die().
publish in interface TokenTracerpublic TokenTracer.PullTrace pull()
TokenTracerTokenTracer.fork().
pull in interface TokenTracerpublic void receive(java.lang.Object value)
TokenTracerTokenTracer.send(Object, Object[]).
receive in interface TokenTracer
public void send(java.lang.Object site,
java.lang.Object[] arguments)
TokenTracer
send in interface TokenTracerpublic void setSourceLocation(SourceLocation location)
setSourceLocation in interface Locatable
public TokenTracer.StoreTrace store(TokenTracer.PullTrace event,
java.lang.Object value)
TokenTracerTokenTracer.choke(StoreTrace).
The engine guarantees that all
TokenTracer.choke(orc.trace.TokenTracer.StoreTrace) and
TokenTracer.unblock(orc.trace.TokenTracer.StoreTrace) events will occur
before the TokenTracer.die() event for this tracer.
store in interface TokenTracerTokenTracer.choke(orc.trace.TokenTracer.StoreTrace),
TokenTracer.unblock(orc.trace.TokenTracer.StoreTrace)public void unblock(TokenTracer.StoreTrace store)
TokenTracer
unblock in interface TokenTracerpublic void useStored(TokenTracer.StoreTrace storeTrace)
TokenTracer
useStored in interface TokenTracerstoreTrace - the trace produced when TokenTracer.store(orc.trace.TokenTracer.PullTrace, Object) was called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||