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.
The LMDB based Store.
The Native Store.
-
Uses of Lock in org.eclipse.rdf4j.common.concurrent.locks
Methods in org.eclipse.rdf4j.common.concurrent.locks that return LockModifier and TypeMethodDescriptionLockManager.createLock(String alias)
Creates a new active lock.protected Lock
AbstractReadWriteLockManager.createReadLock()
Creates a new Lock for reading and increments counter for active readers.protected Lock
AbstractReadWriteLockManager.createWriteLock()
Creates a new Lock for writing.ExclusiveLockManager.getExclusiveLock()
Gets the exclusive lock.ReadPrefReadWriteLockManager.getReadLock()
Gets a read lock.ReadWriteLockManager.getReadLock()
Gets a read lock.WritePrefReadWriteLockManager.getReadLock()
Gets a read lock.ReadPrefReadWriteLockManager.getWriteLock()
Gets an exclusive write lock.ReadWriteLockManager.getWriteLock()
Gets an exclusive write lock.WritePrefReadWriteLockManager.getWriteLock()
Gets an exclusive write lock.ExclusiveLockManager.tryExclusiveLock()
Gets the exclusive lock, if available.ReadPrefReadWriteLockManager.tryReadLock()
Gets a read lock, if available.ReadWriteLockManager.tryReadLock()
Gets a read lock, if available.WritePrefReadWriteLockManager.tryReadLock()
Gets a read lock, if available.ReadPrefReadWriteLockManager.tryWriteLock()
Gets an exclusive write lock, if available.ReadWriteLockManager.tryWriteLock()
Gets an exclusive write lock, if available.WritePrefReadWriteLockManager.tryWriteLock()
Gets an exclusive write lock, if available.Constructors in org.eclipse.rdf4j.common.concurrent.locks with parameters of type LockModifierConstructorDescriptionLockingIteration(Lock lock, Iteration<? extends E,X> iter)
Creates a new LockingIteration. -
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
Methods in org.eclipse.rdf4j.sail.helpers that return LockModifier and TypeMethodDescriptionprotected Lock
AbstractSailConnection.getExclusiveConnectionLock()
Deprecated.protected Lock
AbstractSailConnection.getSharedConnectionLock()
Deprecated.UseAbstractSailConnection.connectionLock
directly instead.protected Lock
AbstractSailConnection.getTransactionLock()
Deprecated.UseAbstractSailConnection.updateLock
directly instead.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
Methods in org.eclipse.rdf4j.sail.lmdb that return LockModifier 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
Methods in org.eclipse.rdf4j.sail.nativerdf that return LockModifier 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.
AbstractSailConnection.connectionLock
directly instead.