public final class

ConfluenceLockFactory

extends Object
implements LockFactory
java.lang.Object
   ↳ com.atlassian.confluence.user.crowd.ConfluenceLockFactory

Class Overview

Implementation of the Embedded Crowd LockFactory that switches between Coherence-based locking or java.util.concurrent.locks.ReentrantLock based on whether this instance is clustered.

Summary

Public Constructors
ConfluenceLockFactory(ClusterManager clusterManager)
Public Methods
Lock getLock(String key)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.crowd.manager.lock.LockFactory

Public Constructors

public ConfluenceLockFactory (ClusterManager clusterManager)

Public Methods

public Lock getLock (String key)