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 interface
Lock.ExtendedSupplier<T extends Lock>
Extension of the Lock.Supplier interface to support tryLock().static class
Lock.ExtendedSupplier.Wrapper<T extends Lock>
static interface
Lock.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 class
AbstractReadWriteLockManager.ReadLock
(package private) static class
AbstractReadWriteLockManager.WriteLock
(package private) static class
ExclusiveLockManager.ExclusiveLock
(package private) static class
LockManager.ReadLock
static class
StampedLockManager.OptimisticReadLock
private static class
StampedLockManager.ReadLock
private static class
StampedLockManager.WriteLock
Fields in org.eclipse.rdf4j.common.concurrent.locks declared as Lock Modifier and Type Field Description private Lock
LockingIteration. lock
Deprecated.The lock to release when the Iteration is closed.(package private) Lock
StampedLockManager.Cache.ReadableState. readLock
(package private) Lock
StampedLockManager.Cache.WritableState. writeLock
Methods 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 Lock
StampedLockManager. convertToReadLock(Lock writeLock)
Convert a write lock to a read lock.Lock
LockManager. createLock(java.lang.String alias)
Lock
ExclusiveLockManager. getExclusiveLock()
private Lock
ExclusiveLockManager. getExclusiveLockInner()
Lock
AbstractReadWriteLockManager. getReadLock()
Gets a read lock.Lock
ReadWriteLockManager. getReadLock()
Gets a read lock.Lock
StampedLockManager. getReadLock()
Gets a read lock.Lock
AbstractReadWriteLockManager. getWriteLock()
Gets an exclusive write lock.Lock
ReadWriteLockManager. getWriteLock()
Gets an exclusive write lock.Lock
StampedLockManager. getWriteLock()
Gets an exclusive write lock.private Lock
StampedLockManager.Cache. refreshCacheIfNeeded(Lock readLock)
Lock
ExclusiveLockManager. tryExclusiveLock()
private Lock
ExclusiveLockManager. tryExclusiveLockInner()
Lock
AbstractReadWriteLockManager. tryReadLock()
Gets a read lock, if available.Lock
ReadWriteLockManager. tryReadLock()
Gets a read lock, if available.Lock
StampedLockManager. tryReadLock()
Gets a read lock, if available.Lock
AbstractReadWriteLockManager. tryWriteLock()
Gets an exclusive write lock, if available.Lock
ReadWriteLockManager. tryWriteLock()
Gets an exclusive write lock, if available.Lock
StampedLockManager. 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 Lock
StampedLockManager. 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 Lock
StampedLockManager.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 class
LockCleaner<T extends Lock>
Automatically log and release locks that are no longer referenced and will be garbage collected.static class
LockCleaner.CleanableLock<T extends Lock>
(package private) static class
LockCleaner.CleanableLock.State<T extends Lock>
interface
LockMonitoring<T extends Lock>
Interface to support monitoring and cleaning of locks.static class
LockMonitoring.Wrapper<T extends Lock>
class
LockTracking<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 class
LockTracking.SimpleLock<T extends Lock>
(package private) static class
LockTracking.SimpleLock.State<T extends Lock>
Classes in org.eclipse.rdf4j.common.concurrent.locks.diagnostics that implement Lock Modifier and Type Class Description static class
LockCleaner.CleanableLock<T extends Lock>
static class
LockTracking.SimpleLock<T extends Lock>
Fields in org.eclipse.rdf4j.common.concurrent.locks.diagnostics declared as Lock Modifier and Type Field Description private T
LockCleaner.CleanableLock.State. lock
private T
LockTracking.SimpleLock.State. lock
Methods 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 Lock
LockCleaner. getLock()
Lock
LockMonitoring. getLock()
default Lock
LockMonitoring. getLock(java.lang.String alias)
Lock
LockMonitoring.Wrapper. getLock()
Lock
LockTracking. getLock()
Lock
LockTracking. getLock(java.lang.String alias)
Lock
LockCleaner. register(T lock)
Lock
LockMonitoring. register(T lock)
Lock
LockMonitoring.Wrapper. register(Lock lock)
Lock
LockTracking. register(T lock)
Lock
LockCleaner. tryLock()
Lock
LockMonitoring. tryLock()
Lock
LockMonitoring.Wrapper. tryLock()
Lock
LockTracking. tryLock()
Methods in org.eclipse.rdf4j.common.concurrent.locks.diagnostics with parameters of type Lock Modifier and Type Method Description Lock
LockMonitoring.Wrapper. register(Lock lock)
void
LockCleaner. unregister(Lock lock)
void
LockMonitoring. unregister(Lock lock)
void
LockMonitoring.Wrapper. unregister(Lock lock)
void
LockTracking. unregister(Lock lock)
T
LockCleaner. unsafeInnerLock(Lock lock)
T
LockMonitoring. unsafeInnerLock(Lock lock)
T
LockMonitoring.Wrapper. unsafeInnerLock(Lock lock)
T
LockTracking. 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 Lock
LockManager. lockOrFail()
Creates a lock in a SAIL if it does not yet exist.Lock
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 Lock Modifier and Type Class Description private static class
AbstractSailConnection.JavaLock
Methods in org.eclipse.rdf4j.sail.helpers that return Lock Modifier and Type Method Description private Lock
DirectoryLockManager. createLock(java.io.RandomAccessFile raf, java.nio.channels.FileLock fileLock)
protected Lock
AbstractSailConnection. getExclusiveConnectionLock()
Deprecated, for removal: This API element is subject to removal in a future version.protected Lock
AbstractSailConnection. getSharedConnectionLock()
Deprecated, for removal: This API element is subject to removal in a future version.protected Lock
AbstractSailConnection. getTransactionLock()
Deprecated, for removal: This API element is subject to removal in a future version.Lock
DirectoryLockManager. lockOrFail()
Creates a lock in a directory if it does not yet exist.Lock
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 Modifier and Type Field Description private Lock
MemoryStore. dirLock
The 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 Lock
ShaclSailConnection. exclusiveSerializableValidationLock
private Lock
ShaclSailConnection. nonExclusiveSerializableValidationLock
-