returns the lock associated with the key passed. If there is
no lock one is created this call also increments the number of
references interested in Lock.
WARNING: All access to this method MUST have an equivalent
removeLockRef cleanup call, or this will create a leak in the map,
public void removeLockRef(java.lang.Object id)
public void setLockCLass(java.lang.Class lockClass)