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 booleanlockedprivate longstampprivate java.util.concurrent.locks.StampedLockstampedLock
-
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 booleanisActive()Checks whether the lock is still active.voidrelease()Release the lock, making it inactive.
-
-
-
Method Detail
-
isActive
public boolean isActive()
Description copied from interface:LockChecks whether the lock is still active.
-
-