com.caucho.env.lock
Interface LockManager

All Known Implementing Classes:
AbstractLockManager, ClusterLockManager, SingleLockManager

public interface LockManager

Manages the distributed lock


Method Summary
 java.util.concurrent.locks.Lock getOrCreateLock(java.lang.String name)
          Creates a new lock with the given name;
 

Method Detail

getOrCreateLock

java.util.concurrent.locks.Lock getOrCreateLock(java.lang.String name)
Creates a new lock with the given name;