com.atlassian.confluence.concurrent
Interface LockFactory

All Known Subinterfaces:
ClusterManager
All Known Implementing Classes:
TangosolClusterManager, TransactionalCacheFactory

public interface LockFactory

Interface for obtaining locks


Method Summary
 Lock getLock(String name)
          Get a lock -- getting the lock does *not* imply that it has been acquired.
 

Method Detail

getLock

public Lock getLock(String name)
Get a lock -- getting the lock does *not* imply that it has been acquired. Call Lock.tryLock() or Lock.lock() on the returned object to acquire the lock.



Confluence is developed by Atlassian.