Class WritePrefReadWriteLockManager
java.lang.Object
org.eclipse.rdf4j.common.concurrent.locks.AbstractReadWriteLockManager
org.eclipse.rdf4j.common.concurrent.locks.WritePrefReadWriteLockManager
- All Implemented Interfaces:
ReadWriteLockManager
A read/write lock manager with writer preference.
- Author:
- HÃ¥vard M. Ottestad
-
Constructor Summary
ConstructorDescriptionWritePrefReadWriteLockManager
(boolean trackLocks) WritePrefReadWriteLockManager
(boolean trackLocks, int waitToCollect) WritePrefReadWriteLockManager
(String alias, int waitToCollect, LockDiagnostics... lockDiagnostics) WritePrefReadWriteLockManager
(String alias, LockDiagnostics... lockDiagnostics) -
Method Summary
Methods inherited from class org.eclipse.rdf4j.common.concurrent.locks.AbstractReadWriteLockManager
getReadLock, getWriteLock, isReaderActive, isWriterActive, tryReadLock, tryWriteLock, waitForActiveReaders, waitForActiveWriter
-
Constructor Details
-
WritePrefReadWriteLockManager
public WritePrefReadWriteLockManager() -
WritePrefReadWriteLockManager
public WritePrefReadWriteLockManager(boolean trackLocks) -
WritePrefReadWriteLockManager
public WritePrefReadWriteLockManager(boolean trackLocks, int waitToCollect) -
WritePrefReadWriteLockManager
-
WritePrefReadWriteLockManager
public WritePrefReadWriteLockManager(String alias, int waitToCollect, LockDiagnostics... lockDiagnostics)
-