Uses of Interface
org.eclipse.rdf4j.common.concurrent.locks.Lock
Packages that use Lock
Package
Description
Package offering various locking scheme implementations.
RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.
Abstract base implementation and internal helper classes for Sail implementations.
An implementation of the RDF SAIL API that uses main memory for storage.
A Sail implementation for SHACL constraint checking.
-
Uses of Lock in org.eclipse.rdf4j.common.concurrent.locks
Classes in org.eclipse.rdf4j.common.concurrent.locks with type parameters of type LockModifier and TypeInterfaceDescriptionstatic interfaceLock.ExtendedSupplier<T extends Lock>Extension of the Lock.Supplier interface to support tryLock().static classLock.ExtendedSupplier.Wrapper<T extends Lock>static interfaceLock.Supplier<T extends Lock>Functional interface for supplying a lock with support for InterruptedException.Classes in org.eclipse.rdf4j.common.concurrent.locks that implement LockModifier and TypeClassDescription(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classstatic classprivate static classprivate static classFields in org.eclipse.rdf4j.common.concurrent.locks declared as LockModifier and TypeFieldDescriptionprivate final LockLockingIteration.lockDeprecated.The lock to release when the Iteration is closed.(package private) LockStampedLockManager.Cache.ReadableState.readLock(package private) LockStampedLockManager.Cache.WritableState.writeLockMethods in org.eclipse.rdf4j.common.concurrent.locks with type parameters of type LockModifier and TypeMethodDescriptionstatic <T extends Lock>
Lock.ExtendedSupplier.Wrapper<T> Lock.ExtendedSupplier.wrap(Lock.Supplier<T> getLockSupplier, Lock.Supplier<T> tryLockSupplier) Methods in org.eclipse.rdf4j.common.concurrent.locks that return LockModifier and TypeMethodDescriptionStampedLockManager.convertToReadLock(Lock writeLock) Convert a write lock to a read lock.LockManager.createLock(String alias) ExclusiveLockManager.getExclusiveLock()ExclusiveReentrantLockManager.getExclusiveLock()private LockExclusiveLockManager.getExclusiveLockInner()private LockExclusiveReentrantLockManager.getExclusiveLockInner()AbstractReadWriteLockManager.getReadLock()Gets a read lock.ReadWriteLockManager.getReadLock()Gets a read lock.StampedLockManager.getReadLock()Gets a read lock.AbstractReadWriteLockManager.getWriteLock()Gets an exclusive write lock.ReadWriteLockManager.getWriteLock()Gets an exclusive write lock.StampedLockManager.getWriteLock()Gets an exclusive write lock.private LockStampedLockManager.Cache.refreshCacheIfNeeded(Lock readLock) ExclusiveLockManager.tryExclusiveLock()ExclusiveReentrantLockManager.tryExclusiveLock()private LockExclusiveLockManager.tryExclusiveLockInner()private LockExclusiveReentrantLockManager.tryExclusiveLockInner()AbstractReadWriteLockManager.tryReadLock()Gets a read lock, if available.ReadWriteLockManager.tryReadLock()Gets a read lock, if available.StampedLockManager.tryReadLock()Gets a read lock, if available.AbstractReadWriteLockManager.tryWriteLock()Gets an exclusive write lock, if available.ReadWriteLockManager.tryWriteLock()Gets an exclusive write lock, if available.StampedLockManager.tryWriteLock()Gets an exclusive write lock, if available.Methods in org.eclipse.rdf4j.common.concurrent.locks with parameters of type LockModifier and TypeMethodDescriptionStampedLockManager.convertToReadLock(Lock writeLock) Convert a write lock to a read lock.static <T, R extends Exception>
CloseableIteration<T, R> LockingIteration.getInstance(Lock lock, CloseableIteration<T, R> iter) Deprecated.private LockStampedLockManager.Cache.refreshCacheIfNeeded(Lock readLock) Constructors in org.eclipse.rdf4j.common.concurrent.locks with parameters of type LockModifierConstructorDescriptionLockingIteration(Lock lock, Iteration<? extends E, X> iter) Deprecated, for removal: This API element is subject to removal in a future version.(package private)ReadableState(T data, Lock readLock) (package private)WritableState(Lock writeLock) -
Uses of Lock in org.eclipse.rdf4j.common.concurrent.locks.diagnostics
Classes in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with type parameters of type LockModifier and TypeClassDescriptionclassLockCleaner<T extends Lock>Automatically log and release locks that are no longer referenced and will be garbage collected.static classLockCleaner.CleanableLock<T extends Lock>(package private) static classLockCleaner.CleanableLock.State<T extends Lock>interfaceLockMonitoring<T extends Lock>Interface to support monitoring and cleaning of locks.static classLockMonitoring.Wrapper<T extends Lock>classLockTracking<T extends Lock>Full tracking of locks with simple deadlock detection and logging as well as automatic release of abandoned locks (same as LockCleaner).static classLockTracking.SimpleLock<T extends Lock>(package private) static classLockTracking.SimpleLock.State<T extends Lock>Classes in org.eclipse.rdf4j.common.concurrent.locks.diagnostics that implement LockModifier and TypeClassDescriptionstatic classLockCleaner.CleanableLock<T extends Lock>static classLockTracking.SimpleLock<T extends Lock>Fields in org.eclipse.rdf4j.common.concurrent.locks.diagnostics declared as LockModifier and TypeFieldDescriptionprivate final TLockCleaner.CleanableLock.State.lockprivate final TLockTracking.SimpleLock.State.lockMethods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with type parameters of type LockModifier and TypeMethodDescriptionstatic <T extends Lock>
LockMonitoring<T> LockMonitoring.wrap(Lock.ExtendedSupplier<T> supplier) Methods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics that return LockModifier and TypeMethodDescriptionLockCleaner.getLock()LockMonitoring.getLock()default LockLockMonitoring.Wrapper.getLock()LockTracking.getLock()LockCleaner.tryLock()LockMonitoring.tryLock()LockMonitoring.Wrapper.tryLock()LockTracking.tryLock()Methods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with parameters of type LockModifier and TypeMethodDescriptionvoidLockCleaner.unregister(Lock lock) voidLockMonitoring.unregister(Lock lock) voidLockMonitoring.Wrapper.unregister(Lock lock) voidLockTracking.unregister(Lock lock) LockCleaner.unsafeInnerLock(Lock lock) LockMonitoring.unsafeInnerLock(Lock lock) LockMonitoring.Wrapper.unsafeInnerLock(Lock lock) LockTracking.unsafeInnerLock(Lock lock) -
Uses of Lock in org.eclipse.rdf4j.sail
Methods in org.eclipse.rdf4j.sail that return LockModifier and TypeMethodDescriptionLockManager.lockOrFail()Creates a lock in a SAIL if it does not yet exist.LockManager.tryLock()Creates a lock in a SAIL if it does not yet exist. -
Uses of Lock in org.eclipse.rdf4j.sail.helpers
Classes in org.eclipse.rdf4j.sail.helpers that implement LockMethods in org.eclipse.rdf4j.sail.helpers that return LockModifier and TypeMethodDescriptionprivate LockDirectoryLockManager.createLock(RandomAccessFile raf, FileLock fileLock) protected LockAbstractSailConnection.getExclusiveConnectionLock()Deprecated, for removal: This API element is subject to removal in a future version.protected LockAbstractSailConnection.getSharedConnectionLock()Deprecated, for removal: This API element is subject to removal in a future version.protected LockAbstractSailConnection.getTransactionLock()Deprecated, for removal: This API element is subject to removal in a future version.DirectoryLockManager.lockOrFail()Creates a lock in a directory if it does not yet exist.DirectoryLockManager.tryLock()Creates a lock in a directory if it does not yet exist. -
Uses of Lock in org.eclipse.rdf4j.sail.memory
Fields in org.eclipse.rdf4j.sail.memory declared as Lock -
Uses of Lock in org.eclipse.rdf4j.sail.shacl
Fields in org.eclipse.rdf4j.sail.shacl declared as LockModifier and TypeFieldDescriptionprivate LockShaclSailConnection.exclusiveSerializableValidationLockprivate LockShaclSailConnection.nonExclusiveSerializableValidationLock