Uses of Interface
org.eclipse.rdf4j.common.concurrent.locks.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.
The LMDB based Store.
The Native Store.
-
Uses of Lock in org.eclipse.rdf4j.common.concurrent.locks
Modifier and TypeInterfaceDescriptionstatic 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.Modifier and TypeMethodDescriptionstatic <T extends Lock>
Lock.ExtendedSupplier.Wrapper<T>Lock.ExtendedSupplier.wrap
(Lock.Supplier<T> getLockSupplier, Lock.Supplier<T> tryLockSupplier) Modifier and TypeMethodDescriptionStampedLockManager.convertToReadLock
(Lock writeLock) Convert a write lock to a read lock.LockManager.createLock
(String alias) ExclusiveLockManager.getExclusiveLock()
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.ExclusiveLockManager.tryExclusiveLock()
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.Modifier 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.ModifierConstructorDescriptionLockingIteration
(Lock lock, Iteration<? extends E, X> iter) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Lock in org.eclipse.rdf4j.common.concurrent.locks.diagnostics
Modifier and TypeClassDescriptionclass
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>
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>
Modifier and TypeClassDescriptionstatic class
LockCleaner.CleanableLock<T extends Lock>
static class
LockTracking.SimpleLock<T extends Lock>
Modifier and TypeMethodDescriptionstatic <T extends Lock>
LockMonitoring<T>LockMonitoring.wrap
(Lock.ExtendedSupplier<T> supplier) Modifier and TypeMethodDescriptionLockCleaner.getLock()
LockMonitoring.getLock()
default Lock
LockMonitoring.Wrapper.getLock()
LockTracking.getLock()
LockCleaner.tryLock()
LockMonitoring.tryLock()
LockMonitoring.Wrapper.tryLock()
LockTracking.tryLock()
Modifier and TypeMethodDescriptionvoid
LockCleaner.unregister
(Lock lock) void
LockMonitoring.unregister
(Lock lock) void
LockMonitoring.Wrapper.unregister
(Lock lock) void
LockTracking.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
Modifier 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
Modifier and TypeMethodDescriptionprotected 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.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.lmdb
Modifier and TypeMethodDescriptionprotected Lock
LmdbStore.getTransactionLock
(IsolationLevel level) This call will block whenIsolationLevels.NONE
is provided when there are active transactions with a higher isolation and block when a higher isolation is provided when there are active transactions withIsolationLevels.NONE
isolation. -
Uses of Lock in org.eclipse.rdf4j.sail.nativerdf
Modifier and TypeMethodDescriptionValueStore.getReadLock()
Gets a read lock on this value store that can be used to prevent values from being removed while the lock is active.protected Lock
NativeStore.getTransactionLock
(IsolationLevel level) This call will block whenIsolationLevels.NONE
is provided when there are active transactions with a higher isolation and block when a higher isolation is provided when there are active transactions withIsolationLevels.NONE
isolation.