lime
Class Result

java.lang.Object
  extended bylime.Lock
      extended bylime.Result
Direct Known Subclasses:
ResultReactions, ResultTuple

class Result
extends Lock

Result will hold either a tuple or the response to the installation of the reaction (an array of objects). By extending lock, we have the ability to suspend and resume a thread on a result object.


Field Summary
(package private)  java.lang.Object value
           
 
Constructor Summary
(package private) Result()
           
 
Method Summary
(package private)  void hold()
          hold: Suspend the thread on this instance of this object.
(package private)  void release()
          release: resume the thread suspended on this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

java.lang.Object value
Constructor Detail

Result

Result()
Method Detail

hold

void hold()
hold: Suspend the thread on this instance of this object.


release

void release()
release: resume the thread suspended on this object.