Class AbstractReadWriteLockManager.ReadLock
- java.lang.Object
-
- org.eclipse.rdf4j.common.concurrent.locks.AbstractReadWriteLockManager.ReadLock
-
- All Implemented Interfaces:
Lock
- Enclosing class:
- AbstractReadWriteLockManager
static class AbstractReadWriteLockManager.ReadLock extends java.lang.Object implements Lock
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.rdf4j.common.concurrent.locks.Lock
Lock.ExtendedSupplier<T extends Lock>, Lock.Supplier<T extends Lock>
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
locked
private java.util.concurrent.atomic.LongAdder
readersUnlocked
-
Constructor Summary
Constructors Constructor Description ReadLock(java.util.concurrent.atomic.LongAdder readersUnlocked)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isActive()
Checks whether the lock is still active.void
release()
Release the lock, making it inactive.
-
-
-
Method Detail
-
isActive
public boolean isActive()
Description copied from interface:Lock
Checks whether the lock is still active.
-
-