Package | Description |
---|---|
org.hibernate.action.internal | |
org.hibernate.cache |
This package defines API of the Hibernate second level cache service.
|
org.hibernate.cache.infinispan | |
org.hibernate.cache.infinispan.access | |
org.hibernate.cache.infinispan.collection | |
org.hibernate.cache.infinispan.entity | |
org.hibernate.cache.infinispan.impl | |
org.hibernate.cache.infinispan.naturalid | |
org.hibernate.cache.infinispan.query | |
org.hibernate.cache.infinispan.timestamp | |
org.hibernate.cache.internal | |
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.ejb.internal | |
org.hibernate.envers.internal | |
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() |
Constructor and Description |
---|
CollectionRecreateAction(PersistentCollection collection,
CollectionPersister persister,
Serializable id,
SessionImplementor session) |
Modifier and Type | Class and Description |
---|---|
class |
NoCacheRegionFactoryAvailableException
Implementation of NoCacheRegionFactoryAvailableException.
|
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
InfinispanRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing collection data.
|
EntityRegion |
InfinispanRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata)
Build a cache region specialized for storing entity data.
|
NaturalIdRegion |
InfinispanRegionFactory.buildNaturalIdRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
InfinispanRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing query results
|
TimestampsRegion |
InfinispanRegionFactory.buildTimestampsRegion(String regionName,
Properties properties)
Build a cache region specialized for storing update-timestamps data.
|
protected org.infinispan.manager.EmbeddedCacheManager |
JndiInfinispanRegionFactory.createCacheManager(Properties properties) |
protected org.infinispan.manager.EmbeddedCacheManager |
InfinispanRegionFactory.createCacheManager(Properties properties) |
void |
InfinispanRegionFactory.start(Settings settings,
Properties properties)
Lifecycle callback to perform any necessary initialization of the
underlying cache implementation(s).
|
void |
TypeOverrides.validateInfinispanConfiguration(org.infinispan.config.Configuration configuration) |
Modifier and Type | Method and Description |
---|---|
boolean |
TransactionalAccessDelegate.afterInsert(Object key,
Object value,
Object version) |
boolean |
TransactionalAccessDelegate.afterUpdate(Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
void |
TransactionalAccessDelegate.evict(Object key) |
void |
TransactionalAccessDelegate.evictAll() |
Object |
TransactionalAccessDelegate.get(Object key,
long txTimestamp) |
boolean |
TransactionalAccessDelegate.insert(Object key,
Object value,
Object version) |
SoftLock |
TransactionalAccessDelegate.lockItem(Object key,
Object version) |
SoftLock |
TransactionalAccessDelegate.lockRegion() |
boolean |
TransactionalAccessDelegate.putFromLoad(Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
TransactionalAccessDelegate.remove(Object key) |
void |
TransactionalAccessDelegate.removeAll() |
void |
TransactionalAccessDelegate.unlockItem(Object key,
SoftLock lock) |
void |
TransactionalAccessDelegate.unlockRegion(SoftLock lock) |
boolean |
TransactionalAccessDelegate.update(Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
CollectionRegionAccessStrategy |
CollectionRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EntityRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
void |
BaseRegion.destroy() |
void |
BaseGeneralDataRegion.evict(Object key) |
void |
BaseGeneralDataRegion.evictAll() |
Object |
BaseGeneralDataRegion.get(Object key) |
void |
BaseGeneralDataRegion.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
NaturalIdRegionAccessStrategy |
NaturalIdRegionImpl.buildAccessStrategy(AccessType accessType) |
Modifier and Type | Method and Description |
---|---|
void |
QueryResultsRegionImpl.evict(Object key) |
void |
QueryResultsRegionImpl.evictAll() |
Object |
QueryResultsRegionImpl.get(Object key) |
void |
QueryResultsRegionImpl.put(Object key,
Object value) |
Modifier and Type | Method and Description |
---|---|
void |
ClusteredTimestampsRegionImpl.destroy() |
void |
TimestampsRegionImpl.evict(Object key) |
void |
TimestampsRegionImpl.evictAll() |
void |
ClusteredTimestampsRegionImpl.evictAll() |
Object |
TimestampsRegionImpl.get(Object key) |
Object |
ClusteredTimestampsRegionImpl.get(Object key) |
void |
TimestampsRegionImpl.put(Object key,
Object value) |
void |
TimestampTypeOverrides.validateInfinispanConfiguration(org.infinispan.config.Configuration configuration) |
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(Settings 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() |
void |
QueryCache.clear() |
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(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(Object key,
Object value)
Put an item into the cache.
|
void |
RegionFactory.start(Settings 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(Object key,
Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterInsert(Object key,
Object value,
Object version)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
EntityRegionAccessStrategy.afterUpdate(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(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(Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
boolean |
NaturalIdRegionAccessStrategy.insert(Object key,
Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.insert(Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
SoftLock |
RegionAccessStrategy.lockItem(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(Object key,
Object value,
long txTimestamp,
Object version)
Attempt to cache an object, after loading from the database.
|
boolean |
RegionAccessStrategy.putFromLoad(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(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(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(Object key,
Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
EntityRegionAccessStrategy.update(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 |
EntityManagerMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
void |
EnversMessageLogger_$logger.unableToReleaseCacheLock(CacheException arg0) |
Modifier and Type | Method and Description |
---|---|
void |
CoreMessageLogger_$logger.unableToReleaseCacheLock(CacheException ce) |
void |
CoreMessageLogger.unableToReleaseCacheLock(CacheException ce) |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
BasicCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
OneToManyPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.