org.apache.ojb.otm.lock.map
Interface LockMap

All Known Implementing Classes:
InMemoryLockMap

public interface LockMap

Author:
Raghu Rajah

Method Summary
 void gc()
          This is "garbage collection" - remove free locks from the map.
 ObjectLock getLock(Identity oid)
           
 

Method Detail

getLock

ObjectLock getLock(Identity oid)

gc

void gc()
This is "garbage collection" - remove free locks from the map. This method is called at the end of each transaction. Maybe that would be better to call it by timer?



Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.