com.partnersoft.v3x.gadgets
Class LockBox

java.lang.Object
  extended by com.partnersoft.v3x.gadgets.LockBox

public class LockBox
extends java.lang.Object

A pool of locks, that executes Runnables inside monitors indexed by String. Thread-safe Because We Care.


Constructor Summary
LockBox()
           
 
Method Summary
 void runLocked(java.lang.String lockname, java.lang.Runnable functron)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LockBox

public LockBox()
Method Detail

runLocked

public void runLocked(java.lang.String lockname,
                      java.lang.Runnable functron)