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