com.atlassian.confluence.user.crowd
Class ConfluenceLockFactory

java.lang.Object
  extended by 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.


Constructor Summary
ConfluenceLockFactory(ClusterManager clusterManager)
           
 
Method Summary
 Lock getLock(String key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfluenceLockFactory

public ConfluenceLockFactory(ClusterManager clusterManager)
Method Detail

getLock

public Lock getLock(String key)
Specified by:
getLock in interface com.atlassian.crowd.manager.lock.LockFactory


Copyright © 2003-2012 Atlassian. All Rights Reserved.