com.atlassian.confluence.concurrent
Interface LockFactory

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

Deprecated. since 5.6. Use ClusterLockService for locking

@Deprecated
public interface LockFactory

Interface for obtaining locks


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

Method Detail

getLock

Lock getLock(String name)
Deprecated. 
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–2015 Atlassian. All rights reserved.