Package | Description |
---|---|
org.hibernate.cache.spi.access |
Defines contracts for transactional and concurrent access to cached
entity and
collection data. |
org.hibernate.cache.spi.support |
Package intended for simplifying the worked needed to implement
a caching provider.
|
Modifier and Type | Method and 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 region
|
Modifier and Type | Method and 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
|
Modifier and Type | Class and Description |
---|---|
static class |
AbstractReadWriteAccess.SoftLockImpl
Wrapper type representing locked items.
|
Modifier and Type | Method and Description |
---|---|
SoftLock |
AbstractNaturalIdDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractReadWriteAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractEntityDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
CollectionReadWriteAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractCollectionDataAccess.lockItem(SharedSessionContractImplementor session,
Object key,
Object version) |
SoftLock |
AbstractNaturalIdDataAccess.lockRegion() |
SoftLock |
AbstractEntityDataAccess.lockRegion() |
SoftLock |
EntityReadWriteAccess.lockRegion() |
SoftLock |
AbstractCollectionDataAccess.lockRegion() |
SoftLock |
AbstractCachedDomainDataAccess.lockRegion() |
Modifier and Type | Method and Description |
---|---|
boolean |
EntityReadWriteAccess.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 |
EntityTransactionalAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
EntityNonStrictReadWriteAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
AbstractNaturalIdDataAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock) |
boolean |
NaturalIdReadWriteAccess.afterUpdate(SharedSessionContractImplementor session,
Object key,
Object value,
SoftLock lock) |
boolean |
AbstractReadWriteAccess.Lockable.isUnlockable(SoftLock lock)
Returns
true if the given lock can be unlocked using the given SoftLock instance as a handle. |
boolean |
AbstractReadWriteAccess.Item.isUnlockable(SoftLock lock) |
boolean |
AbstractReadWriteAccess.SoftLockImpl.isUnlockable(SoftLock lock) |
void |
AbstractNaturalIdDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
NaturalIdNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractEntityDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
CollectionReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
EntityReadOnlyAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractCollectionDataAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
NaturalIdReadOnlyAccess.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 |
CollectionNonStrictReadWriteAccess.unlockItem(SharedSessionContractImplementor session,
Object key,
SoftLock lock) |
void |
AbstractNaturalIdDataAccess.unlockRegion(SoftLock lock) |
void |
AbstractEntityDataAccess.unlockRegion(SoftLock lock) |
void |
AbstractCollectionDataAccess.unlockRegion(SoftLock lock) |
void |
AbstractCachedDomainDataAccess.unlockRegion(SoftLock lock) |
Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.