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 SoftLockEntityDeleteAction. getLock()Methods in org.hibernate.action.internal with parameters of type SoftLock Modifier and Type Method Description protected voidEntityDeleteAction. setLock(SoftLock lock)protected voidEntityUpdateAction. 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 SoftLockCachedDomainDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)We are going to attempt to update/delete the keyed object.SoftLockCachedDomainDataAccess. lockRegion()Lock the entire regionMethods in org.hibernate.cache.spi.access with parameters of type SoftLock Modifier and Type Method Description booleanEntityDataAccess. 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().booleanNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)Called afterQuery an item has been updated (afterQuery the transaction completes), instead of calling release().voidCachedDomainDataAccess. 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.voidCachedDomainDataAccess. 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 classAbstractReadWriteAccess.SoftLockImplWrapper type representing locked items.Methods in org.hibernate.cache.spi.support that return SoftLock Modifier and Type Method Description SoftLockAbstractCollectionDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractEntityDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractNaturalIdDataAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockCollectionReadWriteAccess. lockItem(SharedSessionContractImplementor session, Object key, Object version)SoftLockAbstractCachedDomainDataAccess. lockRegion()SoftLockAbstractCollectionDataAccess. lockRegion()SoftLockAbstractEntityDataAccess. lockRegion()SoftLockAbstractNaturalIdDataAccess. lockRegion()SoftLockEntityReadWriteAccess. lockRegion()Methods in org.hibernate.cache.spi.support with parameters of type SoftLock Modifier and Type Method Description booleanAbstractNaturalIdDataAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)booleanEntityNonStrictReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityReadOnlyAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanEntityTransactionalAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, Object currentVersion, Object previousVersion, SoftLock lock)booleanNaturalIdReadWriteAccess. afterUpdate(SharedSessionContractImplementor session, Object key, Object value, SoftLock lock)booleanAbstractReadWriteAccess.Item. isUnlockable(SoftLock lock)booleanAbstractReadWriteAccess.Lockable. isUnlockable(SoftLock lock)Returnstrueif the given lock can be unlocked using the given SoftLock instance as a handle.booleanAbstractReadWriteAccess.SoftLockImpl. isUnlockable(SoftLock lock)voidAbstractCollectionDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractEntityDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractNaturalIdDataAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidCollectionNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidCollectionReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidEntityNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)Since this is a non-strict read/write strategy item locking is not used.voidEntityReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidNaturalIdNonStrictReadWriteAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidNaturalIdReadOnlyAccess. unlockItem(SharedSessionContractImplementor session, Object key, SoftLock lock)voidAbstractCachedDomainDataAccess. unlockRegion(SoftLock lock)voidAbstractCollectionDataAccess. unlockRegion(SoftLock lock)voidAbstractEntityDataAccess. unlockRegion(SoftLock lock)voidAbstractNaturalIdDataAccess. unlockRegion(SoftLock lock)
-