Class LoggingReentrantLock

java.lang.Object
java.util.concurrent.locks.ReentrantLock
com.atlassian.confluence.internal.search.v2.lucene.LoggingReentrantLock
All Implemented Interfaces:
Serializable, Lock

public class LoggingReentrantLock extends ReentrantLock
Adds logging and profiling to lock and unlock methods.
Since:
8.0
See Also:
  • Constructor Details

    • LoggingReentrantLock

      public LoggingReentrantLock(String name)
      Parameters:
      name - the name of the lock, used for logging and a profiling key
  • Method Details