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.ehcache |
Defines the integration with Ehcache as a second-level cache service.
|
org.hibernate.cache.ehcache.internal.nonstop |
Support for handling non-stop caches.
|
org.hibernate.cache.ehcache.internal.regions |
Defines
RegionFactory support for the Ehcache integration |
org.hibernate.cache.ehcache.internal.strategy |
Defines
RegionAccessStrategy support for the Ehcache integration |
org.hibernate.cache.ehcache.internal.util |
Defines utilities used by the Ehcache integration
|
org.hibernate.cache.infinispan |
Defines the integration with Infinispan as a second-level cache service.
|
org.hibernate.cache.infinispan.access |
Internal Infinispan-based implementation of the cache region access strategies
|
org.hibernate.cache.infinispan.collection |
Internal Infinispan-based implementation of the collection cache region
|
org.hibernate.cache.infinispan.entity |
Internal Infinispan-based implementation of the entity cache region
|
org.hibernate.cache.infinispan.impl |
Internal Infinispan-specific base cache region implementations
|
org.hibernate.cache.infinispan.naturalid |
Internal Infinispan-based implementation of the natural-id cache region
|
org.hibernate.cache.infinispan.query |
Internal Infinispan-based implementation of the "query results" cache region
|
org.hibernate.cache.infinispan.timestamp |
Internal Infinispan-based implementation of the "update timestamps" cache region
|
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.
|
org.hibernate.testing.cache |
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 |
---|---|
void |
SingletonEhCacheRegionFactory.start(SessionFactoryOptions settings,
Properties properties) |
void |
EhCacheRegionFactory.start(SessionFactoryOptions settings,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
NonstopAwareEntityRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
SoftLock lock) |
void |
NonstopAwareNaturalIdRegionAccessStrategy.evict(Object key) |
void |
NonstopAwareCollectionRegionAccessStrategy.evict(Object key) |
void |
NonstopAwareEntityRegionAccessStrategy.evict(Object key) |
void |
NonstopAwareNaturalIdRegionAccessStrategy.evictAll() |
void |
NonstopAwareCollectionRegionAccessStrategy.evictAll() |
void |
NonstopAwareEntityRegionAccessStrategy.evictAll() |
Object |
NonstopAwareNaturalIdRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
NonstopAwareCollectionRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
NonstopAwareEntityRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
SoftLock |
NonstopAwareNaturalIdRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
NonstopAwareCollectionRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
NonstopAwareEntityRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
NonstopAwareNaturalIdRegionAccessStrategy.lockRegion() |
SoftLock |
NonstopAwareCollectionRegionAccessStrategy.lockRegion() |
SoftLock |
NonstopAwareEntityRegionAccessStrategy.lockRegion() |
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
NonstopAwareCollectionRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
NonstopAwareEntityRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version) |
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
NonstopAwareCollectionRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
NonstopAwareEntityRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
NonstopAwareNaturalIdRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
NonstopAwareCollectionRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
NonstopAwareEntityRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
NonstopAwareNaturalIdRegionAccessStrategy.removeAll() |
void |
NonstopAwareCollectionRegionAccessStrategy.removeAll() |
void |
NonstopAwareEntityRegionAccessStrategy.removeAll() |
void |
NonstopAwareNaturalIdRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
NonstopAwareCollectionRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
NonstopAwareEntityRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
NonstopAwareNaturalIdRegionAccessStrategy.unlockRegion(SoftLock lock) |
void |
NonstopAwareCollectionRegionAccessStrategy.unlockRegion(SoftLock lock) |
void |
NonstopAwareEntityRegionAccessStrategy.unlockRegion(SoftLock lock) |
boolean |
NonstopAwareNaturalIdRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value) |
boolean |
NonstopAwareEntityRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EhcacheEntityRegion.buildAccessStrategy(AccessType accessType) |
NaturalIdRegionAccessStrategy |
EhcacheNaturalIdRegion.buildAccessStrategy(AccessType accessType) |
CollectionRegionAccessStrategy |
EhcacheCollectionRegion.buildAccessStrategy(AccessType accessType) |
void |
EhcacheTransactionalDataRegion.clear()
Remove all mapping from this cache region.
|
void |
EhcacheDataRegion.destroy() |
void |
EhcacheTransactionalDataRegion.put(Object key,
Object value)
Map the given value to the given key, replacing any existing mapping for this key
|
void |
EhcacheTransactionalDataRegion.readLock(Object key)
Attempts to read lock the mapping for the given key.
|
void |
EhcacheTransactionalDataRegion.readUnlock(Object key)
Attempts to read unlock the mapping for the given key.
|
void |
EhcacheTransactionalDataRegion.remove(Object key)
Remove the mapping for this key (if any exists).
|
void |
EhcacheTransactionalDataRegion.writeLock(Object key)
Attempts to write lock the mapping for the given key.
|
void |
EhcacheTransactionalDataRegion.writeUnlock(Object key)
Attempts to write unlock the mapping for the given key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (after the transaction completes),
instead of calling release().
|
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value) |
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.afterInsert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.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 |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.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 |
ReadWriteEhcacheEntityRegionAccessStrategy.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 |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion,
SoftLock lock) |
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
SoftLock lock) |
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.afterUpdate(SessionImplementor session,
Object key,
Object value,
SoftLock lock)
Called after an item has been updated (after the transaction completes),
instead of calling release().
|
Object |
ReadOnlyEhcacheCollectionRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
ReadOnlyEhcacheEntityRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
TransactionalEhcacheEntityRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
TransactionalEhcacheNaturalIdRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
TransactionalEhcacheCollectionRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.get(SessionImplementor session,
Object key,
long txTimestamp) |
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value) |
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.insert(SessionImplementor session,
Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.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 |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
SoftLock |
TransactionalEhcacheEntityRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
TransactionalEhcacheNaturalIdRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
TransactionalEhcacheCollectionRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version) |
SoftLock |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.lockItem(SessionImplementor session,
Object key,
Object version)
We are going to attempt to update/delete the keyed object.
|
boolean |
ReadOnlyEhcacheCollectionRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
ReadOnlyEhcacheEntityRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
TransactionalEhcacheCollectionRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
TransactionalEhcacheEntityRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
TransactionalEhcacheNaturalIdRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
TransactionalEhcacheCollectionRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.remove(SessionImplementor session,
Object key) |
void |
ReadOnlyEhcacheCollectionRegionAccessStrategy.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 |
ReadOnlyEhcacheEntityRegionAccessStrategy.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 |
NonStrictReadWriteEhcacheCollectionRegionAccessStrategy.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 |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.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 |
TransactionalEhcacheEntityRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
TransactionalEhcacheNaturalIdRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
TransactionalEhcacheCollectionRegionAccessStrategy.unlockItem(SessionImplementor session,
Object key,
SoftLock lock) |
void |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.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 |
ReadOnlyEhcacheNaturalIdRegionAccessStrategy.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.
|
boolean |
NonStrictReadWriteEhcacheNaturalIdRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalEhcacheNaturalIdRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value) |
boolean |
ReadWriteEhcacheNaturalIdRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value)
Called after an item has been updated (before the transaction completes),
instead of calling evict().
|
boolean |
TransactionalEhcacheEntityRegionAccessStrategy.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
ReadWriteEhcacheEntityRegionAccessStrategy.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().
|
boolean |
NonStrictReadWriteEhcacheEntityRegionAccessStrategy.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 |
---|---|
static void |
HibernateEhcacheUtils.validateEhcache(net.sf.ehcache.Ehcache cache)
Validates that the supplied Ehcache instance is valid for use as a Hibernate cache.
|
Modifier and Type | Method and Description |
---|---|
CollectionRegion |
InfinispanRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
InfinispanRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
NaturalIdRegion |
InfinispanRegionFactory.buildNaturalIdRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
InfinispanRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties) |
protected org.infinispan.manager.EmbeddedCacheManager |
InfinispanRegionFactory.createCacheManager(Properties properties,
ServiceRegistry serviceRegistry) |
protected org.infinispan.manager.EmbeddedCacheManager |
JndiInfinispanRegionFactory.createCacheManager(Properties properties,
ServiceRegistry serviceRegistry) |
void |
InfinispanRegionFactory.start(SessionFactoryOptions settings,
Properties properties) |
void |
TypeOverrides.validateInfinispanConfiguration(org.infinispan.configuration.cache.Configuration cfg)
Validate the configuration for this cached type.
|
Modifier and Type | Method and Description |
---|---|
void |
AccessDelegate.evict(Object key)
Forcibly evict an item from the cache immediately without regard for transaction
isolation.
|
void |
TombstoneAccessDelegate.evict(Object key) |
void |
InvalidationCacheAccessDelegate.evict(Object key) |
void |
NonStrictAccessDelegate.evict(Object key) |
void |
AccessDelegate.evictAll()
Forcibly evict all items from the cache immediately without regard for transaction
isolation.
|
void |
TombstoneAccessDelegate.evictAll() |
void |
InvalidationCacheAccessDelegate.evictAll() |
void |
NonStrictAccessDelegate.evictAll() |
Object |
AccessDelegate.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
TombstoneAccessDelegate.get(SessionImplementor session,
Object key,
long txTimestamp) |
Object |
InvalidationCacheAccessDelegate.get(SessionImplementor session,
Object key,
long txTimestamp)
Attempt to retrieve an object from the cache.
|
Object |
NonStrictAccessDelegate.get(SessionImplementor session,
Object key,
long txTimestamp) |
boolean |
TxInvalidationCacheAccessDelegate.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
AccessDelegate.insert(SessionImplementor session,
Object key,
Object value,
Object version)
Called after an item has been inserted (before the transaction completes),
instead of calling evict().
|
boolean |
NonTxInvalidationCacheAccessDelegate.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
TombstoneAccessDelegate.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
NonStrictAccessDelegate.insert(SessionImplementor session,
Object key,
Object value,
Object version) |
boolean |
AccessDelegate.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.
|
boolean |
TombstoneAccessDelegate.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
boolean |
InvalidationCacheAccessDelegate.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.
|
boolean |
NonStrictAccessDelegate.putFromLoad(SessionImplementor session,
Object key,
Object value,
long txTimestamp,
Object version,
boolean minimalPutOverride) |
void |
AccessDelegate.remove(SessionImplementor session,
Object key)
Called after an item has become stale (before the transaction completes).
|
void |
TombstoneAccessDelegate.remove(SessionImplementor session,
Object key) |
void |
InvalidationCacheAccessDelegate.remove(SessionImplementor session,
Object key) |
void |
NonStrictAccessDelegate.remove(SessionImplementor session,
Object key) |
void |
AccessDelegate.removeAll()
Called to evict data from the entire region
|
void |
TombstoneAccessDelegate.removeAll() |
void |
InvalidationCacheAccessDelegate.removeAll() |
void |
NonStrictAccessDelegate.removeAll() |
void |
AccessDelegate.unlockItem(SessionImplementor session,
Object key)
Called when we have finished the attempted update/delete (which may or
may not have been successful), after transaction completion.
|
void |
NonTxInvalidationCacheAccessDelegate.unlockItem(SessionImplementor session,
Object key) |
void |
TombstoneAccessDelegate.unlockItem(SessionImplementor session,
Object key) |
void |
InvalidationCacheAccessDelegate.unlockItem(SessionImplementor session,
Object key) |
void |
NonStrictAccessDelegate.unlockItem(SessionImplementor session,
Object key) |
boolean |
TxInvalidationCacheAccessDelegate.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
AccessDelegate.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().
|
boolean |
NonTxInvalidationCacheAccessDelegate.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
TombstoneAccessDelegate.update(SessionImplementor session,
Object key,
Object value,
Object currentVersion,
Object previousVersion) |
boolean |
NonStrictAccessDelegate.update(SessionImplementor session,
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(SessionImplementor session,
Object key) |
void |
BaseGeneralDataRegion.put(SessionImplementor session,
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(SessionImplementor session,
Object key) |
void |
QueryResultsRegionImpl.put(SessionImplementor session,
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(SessionImplementor session,
Object key) |
Object |
ClusteredTimestampsRegionImpl.get(SessionImplementor session,
Object key) |
void |
TimestampsRegionImpl.put(SessionImplementor session,
Object key,
Object value) |
void |
TimestampTypeOverrides.validateInfinispanConfiguration(org.infinispan.configuration.cache.Configuration cfg) |
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) |
Modifier and Type | Method and Description |
---|---|
EntityRegionAccessStrategy |
EntityRegionImpl.buildAccessStrategy(AccessType accessType) |
CollectionRegion |
CachingRegionFactory.buildCollectionRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
EntityRegion |
CachingRegionFactory.buildEntityRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
NaturalIdRegion |
CachingRegionFactory.buildNaturalIdRegion(String regionName,
Properties properties,
CacheDataDescription metadata) |
QueryResultsRegion |
CachingRegionFactory.buildQueryResultsRegion(String regionName,
Properties properties) |
TimestampsRegion |
CachingRegionFactory.buildTimestampsRegion(String regionName,
Properties properties) |
void |
CachingRegionFactory.start(SessionFactoryOptions settings,
Properties properties) |
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.