com.atlassian.confluence.concurrent
Interface LockFactory

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

public interface LockFactory

Interface for obtaining locks


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

Method Detail

getLock

Lock getLock(java.lang.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.



Copyright © 2003-2010 Atlassian. All Rights Reserved.