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 java.lang.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
 java.util.concurrent.locks.Lock getLock(java.lang.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 java.util.concurrent.locks.Lock getLock(java.lang.String key)
Specified by:
getLock in interface com.atlassian.crowd.manager.lock.LockFactory


Copyright © 2003-2013 Atlassian. All Rights Reserved.