Package | Description |
---|---|
org.hibernate.action.internal |
Internals for action processing.
|
org.hibernate.cache |
This package defines API of the Hibernate second level cache service.
|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the Hibernate second level caching SPI.
|
org.hibernate.cache.spi.access |
Defines contracts for transactional and concurrent access to cached
entity and
collection data. |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionAction.beforeExecutions() |
void |
EntityUpdateAction.doAfterTransactionCompletion(boolean success,
SessionImplementor session) |
protected void |
CollectionAction.evict() |
Modifier and Type | Class and Description |
---|---|
class |
NoCacheRegionFactoryAvailableException
Indicates a condition where a second-level cache implementation was expected to be to available, but
none was found on the classpath.
|
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
NoCachingRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
NoCachingRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
NaturalIdRegion |
NoCachingRegionFactory.buildNaturalIdRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
NoCachingRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties) |
TimestampsRegion |
NoCachingRegionFactory.buildTimestampsRegion(String regionName,
Properties properties) |
void |
StandardQueryCache.clear() |
void |
NoCachingRegionFactory.start(SessionFactoryOptions settings,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
NaturalIdRegionAccessStrategy |
NaturalIdRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
EntityRegionAccessStrategy |
EntityRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
CollectionRegionAccessStrategy |
CollectionRegion.buildAccessStrategy(AccessType accessType)
Build an access strategy for the requested access type.
|
CollectionRegion |
RegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
RegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
NaturalIdRegion |
RegionFactory.buildNaturalIdRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing NaturalId to Primary Key mappings.
|
QueryResultsRegion |
RegionFactory.buildQueryResultsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing query results.
|
TimestampsRegion |
RegionFactory.buildTimestampsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
void |
UpdateTimestampsCache.clear()
Clear the update-timestamps data.
|
void |
QueryCache.clear()
Clear items from the query cache.
|
void |
Region.destroy()
The "end state" contract of the region's lifecycle.
|
void |
GeneralDataRegion.evict(Object key)
Evict an item from the cache immediately (without regard for transaction
isolation).
|
void |
GeneralDataRegion.evictAll()
Evict all contents of this particular cache region (without regard for transaction
isolation).
|
Object |
GeneralDataRegion.get(SessionImplementor session,
Object key)
Get an item from the cache.
|
void |
UpdateTimestampsCache.invalidate(Serializable[] spaces,
SessionImplementor session)
Perform invalidation.
|
boolean |
UpdateTimestampsCache.isUpToDate(Set<Serializable> spaces,
Long timestamp,
SessionImplementor session)
Perform an up-to-date check for the given set of query spaces.
|
void |
UpdateTimestampsCache.preInvalidate(Serializable[] spaces,
SessionImplementor session)
Perform pre-invalidation.
|
void |
GeneralDataRegion.put(SessionImplementor session,
Object key,
Object value)
Put an item into the cache.
|
void |
RegionFactory.start(SessionFactoryOptions settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
Modifier and Type | Method and Description |
---|---|
boolean |
NaturalIdRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value,
Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
boolean |
NaturalIdRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
void |
RegionAccessStrategy.evict(Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
RegionAccessStrategy.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
Object |
RegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
NaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
SoftLock |
RegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
RegionAccessStrategy.lockRegion()
Lock the entire region
|
boolean |
RegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
RegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride)
Attempt to cache an object, after loading from the database, explicitly
specifying the minimalPut behavior.
|
void |
RegionAccessStrategy.remove(SessionImplementor session,
Object key)
Called after an item has become stale (before the transaction completes).
|
void |
RegionAccessStrategy.removeAll()
Called to evict data from the entire region
|
void |
RegionAccessStrategy.unlockItem(SessionImplementor 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 |
RegionAccessStrategy.unlockRegion(SoftLock lock)
Called after we have finished the attempted invalidation of the entire
region
|
boolean |
NaturalIdRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger.unableToReleaseCacheLock(CacheException ce) |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collectionBinding,
CollectionRegionAccessStrategy cacheAccessStrategy,
PersisterCreationContext creationContext) |
BasicCollectionPersister(Collection collectionBinding,
CollectionRegionAccessStrategy cacheAccessStrategy,
PersisterCreationContext creationContext) |
OneToManyPersister(Collection collectionBinding,
CollectionRegionAccessStrategy cacheAccessStrategy,
PersisterCreationContext creationContext) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.