com.atlassian.confluence.user.crowd
Class ConfluenceLockFactory
java.lang.Object
com.atlassian.confluence.user.crowd.ConfluenceLockFactory
- All Implemented Interfaces:
- com.atlassian.crowd.manager.lock.LockFactory
public final class ConfluenceLockFactory
- extends Object
- implements com.atlassian.crowd.manager.lock.LockFactory
Implementation of the Embedded Crowd LockFactory
that switches between Coherence-based locking
or ReentrantLock
based on whether this instance is clustered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceLockFactory
public ConfluenceLockFactory(ClusterManager clusterManager)
getLock
public Lock getLock(String key)
- Specified by:
getLock
in interface com.atlassian.crowd.manager.lock.LockFactory