Class ExclusiveReentrantLockManager.ExclusiveReentrantLock
- java.lang.Object
-
- org.eclipse.rdf4j.common.concurrent.locks.ExclusiveReentrantLockManager.ExclusiveReentrantLock
-
- All Implemented Interfaces:
Lock
- Enclosing class:
- ExclusiveReentrantLockManager
static class ExclusiveReentrantLockManager.ExclusiveReentrantLock 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 (package private) java.util.concurrent.atomic.AtomicLongactiveLocks(package private) java.util.concurrent.atomic.AtomicReference<java.lang.Thread>ownerprivate booleanreleased
-
Constructor Summary
Constructors Constructor Description ExclusiveReentrantLock(java.util.concurrent.atomic.AtomicReference<java.lang.Thread> owner, java.util.concurrent.atomic.AtomicLong activeLocks)
-
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.
-
-