Uses of Interface
org.eclipse.rdf4j.common.concurrent.locks.Lock
-
Packages that use Lock Package Description org.eclipse.rdf4j.common.concurrent.locks Package offering various locking scheme implementations.org.eclipse.rdf4j.common.concurrent.locks.diagnostics org.eclipse.rdf4j.sail RDF Storage And Inference Layer (RDF Sail): a set of interfaces defining an SPI for RDF databases.org.eclipse.rdf4j.sail.helpers Abstract base implementation and internal helper classes for Sail implementations.org.eclipse.rdf4j.sail.memory An implementation of the RDF SAIL API that uses main memory for storage.org.eclipse.rdf4j.sail.shacl 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 Lock Modifier and Type Interface Description static 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 Lock Modifier and Type Class Description (package private) static classAbstractReadWriteLockManager.ReadLock(package private) static classAbstractReadWriteLockManager.WriteLock(package private) static classExclusiveLockManager.ExclusiveLock(package private) static classLockManager.ReadLockstatic classStampedLockManager.OptimisticReadLockprivate static classStampedLockManager.ReadLockprivate static classStampedLockManager.WriteLockFields in org.eclipse.rdf4j.common.concurrent.locks declared as Lock Modifier and Type Field Description private 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 Lock Modifier and Type Method Description static <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 Lock Modifier and Type Method Description LockStampedLockManager. convertToReadLock(Lock writeLock)Convert a write lock to a read lock.LockLockManager. createLock(java.lang.String alias)LockExclusiveLockManager. getExclusiveLock()private LockExclusiveLockManager. getExclusiveLockInner()LockAbstractReadWriteLockManager. getReadLock()Gets a read lock.LockReadWriteLockManager. getReadLock()Gets a read lock.LockStampedLockManager. getReadLock()Gets a read lock.LockAbstractReadWriteLockManager. getWriteLock()Gets an exclusive write lock.LockReadWriteLockManager. getWriteLock()Gets an exclusive write lock.LockStampedLockManager. getWriteLock()Gets an exclusive write lock.private LockStampedLockManager.Cache. refreshCacheIfNeeded(Lock readLock)LockExclusiveLockManager. tryExclusiveLock()private LockExclusiveLockManager. tryExclusiveLockInner()LockAbstractReadWriteLockManager. tryReadLock()Gets a read lock, if available.LockReadWriteLockManager. tryReadLock()Gets a read lock, if available.LockStampedLockManager. tryReadLock()Gets a read lock, if available.LockAbstractReadWriteLockManager. tryWriteLock()Gets an exclusive write lock, if available.LockReadWriteLockManager. tryWriteLock()Gets an exclusive write lock, if available.LockStampedLockManager. tryWriteLock()Gets an exclusive write lock, if available.Methods in org.eclipse.rdf4j.common.concurrent.locks with parameters of type Lock Modifier and Type Method Description LockStampedLockManager. convertToReadLock(Lock writeLock)Convert a write lock to a read lock.static <T,R extends java.lang.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 Lock Constructor Description LockingIteration(Lock lock, Iteration<? extends E,X> iter)Deprecated, for removal: This API element is subject to removal in a future version.ReadableState(T data, Lock readLock)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 Lock Modifier and Type Class Description classLockCleaner<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 Lock Modifier and Type Class Description static classLockCleaner.CleanableLock<T extends Lock>static classLockTracking.SimpleLock<T extends Lock>Fields in org.eclipse.rdf4j.common.concurrent.locks.diagnostics declared as Lock Modifier and Type Field Description private TLockCleaner.CleanableLock.State. lockprivate TLockTracking.SimpleLock.State. lockMethods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with type parameters of type Lock Modifier and Type Method Description static <T extends Lock>
LockMonitoring<T>LockMonitoring. wrap(Lock.ExtendedSupplier<T> supplier)Methods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics that return Lock Modifier and Type Method Description LockLockCleaner. getLock()LockLockMonitoring. getLock()default LockLockMonitoring. getLock(java.lang.String alias)LockLockMonitoring.Wrapper. getLock()LockLockTracking. getLock()LockLockTracking. getLock(java.lang.String alias)LockLockCleaner. register(T lock)LockLockMonitoring. register(T lock)LockLockMonitoring.Wrapper. register(Lock lock)LockLockTracking. register(T lock)LockLockCleaner. tryLock()LockLockMonitoring. tryLock()LockLockMonitoring.Wrapper. tryLock()LockLockTracking. tryLock()Methods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with parameters of type Lock Modifier and Type Method Description LockLockMonitoring.Wrapper. register(Lock lock)voidLockCleaner. unregister(Lock lock)voidLockMonitoring. unregister(Lock lock)voidLockMonitoring.Wrapper. unregister(Lock lock)voidLockTracking. unregister(Lock lock)TLockCleaner. unsafeInnerLock(Lock lock)TLockMonitoring. unsafeInnerLock(Lock lock)TLockMonitoring.Wrapper. unsafeInnerLock(Lock lock)TLockTracking. unsafeInnerLock(Lock lock) -
Uses of Lock in org.eclipse.rdf4j.sail
Methods in org.eclipse.rdf4j.sail that return Lock Modifier and Type Method Description LockLockManager. lockOrFail()Creates a lock in a SAIL if it does not yet exist.LockLockManager. 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 Lock Modifier and Type Class Description private static classAbstractSailConnection.JavaLockMethods in org.eclipse.rdf4j.sail.helpers that return Lock Modifier and Type Method Description private LockDirectoryLockManager. createLock(java.io.RandomAccessFile raf, java.nio.channels.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.LockDirectoryLockManager. lockOrFail()Creates a lock in a directory if it does not yet exist.LockDirectoryLockManager. 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 Modifier and Type Field Description private LockMemoryStore. dirLockThe directory lock, null if this is read-only or a volatile RDF store. -
Uses of Lock in org.eclipse.rdf4j.sail.shacl
Fields in org.eclipse.rdf4j.sail.shacl declared as Lock Modifier and Type Field Description private LockShaclSailConnection. exclusiveSerializableValidationLockprivate LockShaclSailConnection. nonExclusiveSerializableValidationLock
-