Class StampedLockManager.ReadLock
- java.lang.Object
-
- org.eclipse.rdf4j.common.concurrent.locks.StampedLockManager.ReadLock
-
- All Implemented Interfaces:
Lock
- Enclosing class:
- StampedLockManager
private static class StampedLockManager.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 long
stamp
private java.util.concurrent.locks.StampedLock
stampedLock
-
Constructor Summary
Constructors Constructor Description ReadLock(java.util.concurrent.locks.StampedLock stampedLock, long stamp)
-
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.
-
-