Package com.intellij.util.concurrency
Class SynchronizedBasedReentrantReadWriteLock
- java.lang.Object
-
- com.intellij.util.concurrency.SynchronizedBasedReentrantReadWriteLock
-
- All Implemented Interfaces:
JBReentrantReadWriteLock
public class SynchronizedBasedReentrantReadWriteLock extends Object implements JBReentrantReadWriteLock
-
-
Constructor Summary
Constructors Constructor Description SynchronizedBasedReentrantReadWriteLock()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWriteLockedByCurrentThread()JBLockreadLock()JBLockwriteLock()
-
-
-
Method Detail
-
readLock
public JBLock readLock()
- Specified by:
readLockin interfaceJBReentrantReadWriteLock
-
writeLock
public JBLock writeLock()
- Specified by:
writeLockin interfaceJBReentrantReadWriteLock
-
isWriteLockedByCurrentThread
public boolean isWriteLockedByCurrentThread()
- Specified by:
isWriteLockedByCurrentThreadin interfaceJBReentrantReadWriteLock
-
-