java.lang.Object | |
↳ | com.microstrategy.utils.concurrent.ReadWriteLockFactory |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ReadWriteLock |
createLock()
This helps determine the appropriate read-write lock implementation
to use.
| ||||||||||
static ReadWriteLock |
getDisabledLock()
Useful for testing or comparing scenarios without any locking.
| ||||||||||
static ReadWriteLockFactory | getInstance() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This helps determine the appropriate read-write lock implementation to use. Doug Lea provides quite a few in his library. This method returns a reentrant writer preference lock.
Useful for testing or comparing scenarios without any locking.