Uses of Interface
org.hibernate.cache.spi.access.SoftLock
-
Packages that use SoftLock Package Description org.hibernate.action.internal The various concrete action implementations.org.hibernate.cache.spi.access Defines contracts for transactional and concurrent access to cached entity and collection data.org.hibernate.cache.spi.support This package provides a framework intended to reduce the work needed to implement a caching provider. -
-
Uses of SoftLock in org.hibernate.action.internal
Methods in org.hibernate.action.internal that return SoftLock Modifier and Type Method Description protected SoftLock
EntityDeleteAction. getLock()
Methods in org.hibernate.action.internal with parameters of type SoftLock Modifier and Type Method Description protected void
EntityDeleteAction. setLock(SoftLock lock)
protected void
EntityUpdateAction. setLock(SoftLock lock)
-
Uses of SoftLock in org.hibernate.cache.spi.access
Methods in org.hibernate.cache.spi.access that return SoftLock Modifier and Type Method Description SoftLock
CachedDomainDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
We are going to attempt to update/delete the keyed object.SoftLock
CachedDomainDataAccess. lockRegion()
Lock the entire regionMethods in org.hibernate.cache.spi.access with parameters of type SoftLock Modifier and Type Method Description boolean
EntityDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().boolean
NaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)
Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().void
CachedDomainDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.void
CachedDomainDataAccess. unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire region -
Uses of SoftLock in org.hibernate.cache.spi.support
Classes in org.hibernate.cache.spi.support that implement SoftLock Modifier and Type Class Description static class
AbstractReadWriteAccess.SoftLockImpl
Wrapper type representing locked items.Methods in org.hibernate.cache.spi.support that return SoftLock Modifier and Type Method Description SoftLock
AbstractCollectionDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractEntityDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractNaturalIdDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
CollectionReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)
SoftLock
AbstractCachedDomainDataAccess. lockRegion()
SoftLock
AbstractCollectionDataAccess. lockRegion()
SoftLock
AbstractEntityDataAccess. lockRegion()
SoftLock
AbstractNaturalIdDataAccess. lockRegion()
SoftLock
EntityReadWriteAccess. lockRegion()
Methods in org.hibernate.cache.spi.support with parameters of type SoftLock Modifier and Type Method Description boolean
AbstractNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)
boolean
EntityNonStrictReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)
boolean
EntityReadOnlyAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)
boolean
EntityReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)
boolean
EntityTransactionalAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)
boolean
NaturalIdReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)
boolean
AbstractReadWriteAccess.Item. isUnlockable(SoftLock lock)
boolean
AbstractReadWriteAccess.Lockable. isUnlockable(SoftLock lock)
Returnstrue
if the given lock can be unlocked using the given SoftLock instance as a handle.boolean
AbstractReadWriteAccess.SoftLockImpl. isUnlockable(SoftLock lock)
void
AbstractCollectionDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractEntityDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractNaturalIdDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
CollectionNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
CollectionReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
EntityNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
Since this is a non-strict read/write strategy item locking is not used.void
EntityReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
NaturalIdNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
NaturalIdReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)
void
AbstractCachedDomainDataAccess. unlockRegion(SoftLock lock)
void
AbstractCollectionDataAccess. unlockRegion(SoftLock lock)
void
AbstractEntityDataAccess. unlockRegion(SoftLock lock)
void
AbstractNaturalIdDataAccess. unlockRegion(SoftLock lock)
-