orc.runtime
Class LogicalClock

java.lang.Object
  extended by orc.runtime.LogicalClock
Direct Known Subclasses:
NestedLogicalClock, RootLogicalClock

public abstract class LogicalClock
extends java.lang.Object

An event queue for site calls to a logical timer (created by MakeTimer).

According to the semantics of logical time, logical timers can only advance when there are no pending site calls except those to so-called "immediate" sites. However it's not so clear how logical timers should interact with "<<". For the moment clocks are allowed to advance even if there are tokens blocked on a group cell.

Author:
dkitchin, quark

Constructor Summary
protected LogicalClock()
           
 
Method Summary
protected  void setQuiescent()
          Called when this clock is quiescent.
protected  void unsetQuiescent()
          Called when this clock becomes not quiescent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogicalClock

protected LogicalClock()
Method Detail

setQuiescent

protected void setQuiescent()
Called when this clock is quiescent.


unsetQuiescent

protected void unsetQuiescent()
Called when this clock becomes not quiescent.