Class InstrumentedReadWriteLock

java.lang.Object
org.apache.hadoop.util.InstrumentedReadWriteLock
All Implemented Interfaces:
ReadWriteLock

@Private @Unstable public class InstrumentedReadWriteLock extends Object implements ReadWriteLock
This is a wrap class of a ReentrantReadWriteLock. It implements the interface ReadWriteLock, and can be used to create instrumented ReadLock and WriteLock.
  • Constructor Details

    • InstrumentedReadWriteLock

      public InstrumentedReadWriteLock(boolean fair, String name, org.slf4j.Logger logger, long minLoggingGapMs, long lockWarningThresholdMs)
  • Method Details