|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.user.crowd.ConfluenceLockFactory
public final class ConfluenceLockFactory
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 |
---|
public ConfluenceLockFactory(ClusterManager clusterManager)
Method Detail |
---|
public java.util.concurrent.locks.Lock getLock(java.lang.String key)
getLock
in interface com.atlassian.crowd.manager.lock.LockFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |