Class ONotThreadRWLockManager<T>
java.lang.Object
com.orientechnologies.common.concur.lock.ONotThreadRWLockManager<T>
- All Implemented Interfaces:
OSimpleRWLockManager<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacquireReadLock(T key, long timeout) voidacquireWriteLock(T key, long timeout) voidvoidreleaseReadLock(T key) voidreleaseWriteLock(T key) void
-
Constructor Details
-
ONotThreadRWLockManager
public ONotThreadRWLockManager()
-
-
Method Details
-
lock
-
unlock
-
acquireReadLock
- Specified by:
acquireReadLockin interfaceOSimpleRWLockManager<T>
-
acquireWriteLock
- Specified by:
acquireWriteLockin interfaceOSimpleRWLockManager<T>
-
releaseReadLock
- Specified by:
releaseReadLockin interfaceOSimpleRWLockManager<T>
-
releaseWriteLock
- Specified by:
releaseWriteLockin interfaceOSimpleRWLockManager<T>
-