lime
Class Lock

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

class Lock
extends java.lang.Object

The class Lock is the general object that will e sent from the agent to the LimeTSMgr through postOp. IMPORTANT NOTE!!!! The methods of this object are NOT synchronized. Therefore, if you use this lock object, you need to do your own synchronization!!!


Constructor Summary
(package private) Lock()
           
 
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
 

Constructor Detail

Lock

Lock()
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.