Uses of Class
org.hibernate.cache.CacheException

Packages that use CacheException
org.hibernate.action This package defines "actions" that are scheduled for asycnchronous execution by the event listeners. 
org.hibernate.cache This package defines APIs/SPIs and implementations for the Hibernate second-level cache. 
org.hibernate.cache.access Defines contracts for transactional and concurrent access to cached entity and collection data. 
org.hibernate.cache.impl   
org.hibernate.cache.impl.bridge   
org.hibernate.persister.collection This package abstracts the persistence mechanism for collections. 
 

Uses of CacheException in org.hibernate.action
 

Methods in org.hibernate.action that throw CacheException
 void CollectionAction.afterTransactionCompletion(boolean success)
           
 void EntityUpdateAction.afterTransactionCompletion(boolean success)
           
 void CollectionAction.beforeExecutions()
           
protected  void CollectionAction.evict()
           
 

Constructors in org.hibernate.action that throw CacheException
CollectionAction(CollectionPersister persister, PersistentCollection collection, java.io.Serializable key, SessionImplementor session)
           
CollectionRecreateAction(PersistentCollection collection, CollectionPersister persister, java.io.Serializable id, SessionImplementor session)
           
CollectionRemoveAction(java.lang.Object affectedOwner, CollectionPersister persister, java.io.Serializable id, boolean emptySnapshot, SessionImplementor session)
          Removes a persistent collection from a specified owner.
CollectionRemoveAction(PersistentCollection collection, CollectionPersister persister, java.io.Serializable id, boolean emptySnapshot, SessionImplementor session)
          Removes a persistent collection from its loaded owner.
CollectionUpdateAction(PersistentCollection collection, CollectionPersister persister, java.io.Serializable id, boolean emptySnapshot, SessionImplementor session)
           
 

Uses of CacheException in org.hibernate.cache
 

Subclasses of CacheException in org.hibernate.cache
 class NoCachingEnabledException
          Implementation of NoCachingEnabledException.
 

Methods in org.hibernate.cache that throw CacheException
 boolean NonstrictReadWriteCache.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Do nothing.
 boolean CacheConcurrencyStrategy.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Deprecated. Called after an item has been inserted (after the transaction completes), instead of calling release().
 boolean ReadWriteCache.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Add the new item to the cache, checking that no other transaction has accessed the item.
 boolean TransactionalCache.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Do nothing.
 boolean ReadOnlyCache.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Do nothing.
 boolean NonstrictReadWriteCache.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object version, SoftLock lock)
          Invalidate the item (again, for safety).
 boolean CacheConcurrencyStrategy.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object version, SoftLock lock)
          Deprecated. Called after an item has been updated (after the transaction completes), instead of calling release().
 boolean ReadWriteCache.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object version, SoftLock clientLock)
          Re-cache the updated state, if and only if there there are no other concurrent soft locks.
 boolean TransactionalCache.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object version, SoftLock clientLock)
          Do nothing.
 boolean ReadOnlyCache.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object version, SoftLock lock)
          Unsupported!
 CollectionRegionAccessStrategy CollectionRegion.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.
 Cache CacheProvider.buildCache(java.lang.String regionName, java.util.Properties properties)
          Deprecated. Configure the cache
 Cache HashtableCacheProvider.buildCache(java.lang.String regionName, java.util.Properties properties)
           
 Cache NoCacheProvider.buildCache(java.lang.String regionName, java.util.Properties properties)
          Configure the cache
 CollectionRegion RegionFactory.buildCollectionRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
          Build a cache region specialized for storing collection data.
 EntityRegion RegionFactory.buildEntityRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
          Build a cache region specialized for storing entity data.
 QueryResultsRegion RegionFactory.buildQueryResultsRegion(java.lang.String regionName, java.util.Properties properties)
          Build a cache region specialized for storing query results
 TimestampsRegion RegionFactory.buildTimestampsRegion(java.lang.String regionName, java.util.Properties properties)
          Build a cache region specialized for storing update-timestamps data.
 void NonstrictReadWriteCache.clear()
           
 void UpdateTimestampsCache.clear()
           
 void QueryCache.clear()
           
 void Cache.clear()
          Deprecated. Clear the cache
 void CacheConcurrencyStrategy.clear()
          Deprecated. Evict all items from the cache immediately.
 void HashtableCache.clear()
           
 void StandardQueryCache.clear()
           
 void ReadWriteCache.clear()
           
 void TransactionalCache.clear()
           
 void ReadOnlyCache.clear()
           
 void Cache.destroy()
          Deprecated. Clean up
 void Region.destroy()
          The "end state" contract of the region's lifecycle.
 void HashtableCache.destroy()
           
 void NonstrictReadWriteCache.evict(java.lang.Object key)
          Invalidate the item
 void GeneralDataRegion.evict(java.lang.Object key)
          Evict an item from the cache immediately (without regard for transaction isolation).
 void CacheConcurrencyStrategy.evict(java.lang.Object key)
          Deprecated. Called after an item has become stale (before the transaction completes).
 void ReadWriteCache.evict(java.lang.Object key)
          Do nothing.
 void TransactionalCache.evict(java.lang.Object key)
           
 void ReadOnlyCache.evict(java.lang.Object key)
          Do nothing.
 void GeneralDataRegion.evictAll()
          Evict all contents of this particular cache region (without regard for transaction isolation).
 java.lang.Object GeneralDataRegion.get(java.lang.Object key)
          Get an item from the cache.
 java.lang.Object Cache.get(java.lang.Object key)
          Deprecated. Get an item from the cache, nontransactionally
 java.lang.Object HashtableCache.get(java.lang.Object key)
           
 java.lang.Object NonstrictReadWriteCache.get(java.lang.Object key, long txTimestamp)
          Get the most recent version, if available.
 java.lang.Object CacheConcurrencyStrategy.get(java.lang.Object key, long txTimestamp)
          Deprecated. Attempt to retrieve an object from the cache.
 java.lang.Object ReadWriteCache.get(java.lang.Object key, long txTimestamp)
          Do not return an item whose timestamp is later than the current transaction timestamp.
 java.lang.Object TransactionalCache.get(java.lang.Object key, long txTimestamp)
           
 java.lang.Object ReadOnlyCache.get(java.lang.Object key, long timestamp)
           
 boolean CacheConcurrencyStrategy.insert(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion)
          Deprecated. Called after an item has been inserted (before the transaction completes), instead of calling evict().
 boolean TransactionalCache.insert(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion)
           
 void UpdateTimestampsCache.invalidate(java.io.Serializable[] spaces)
           
 void Cache.lock(java.lang.Object key)
          Deprecated. If this is a clustered cache, lock the item
 void HashtableCache.lock(java.lang.Object key)
           
 SoftLock NonstrictReadWriteCache.lock(java.lang.Object key, java.lang.Object version)
          Do nothing.
 SoftLock CacheConcurrencyStrategy.lock(java.lang.Object key, java.lang.Object version)
          Deprecated. We are going to attempt to update/delete the keyed object.
 SoftLock ReadWriteCache.lock(java.lang.Object key, java.lang.Object version)
          Stop any other transactions reading or writing this item to/from the cache.
 SoftLock TransactionalCache.lock(java.lang.Object key, java.lang.Object version)
          Do nothing, returning null.
 void UpdateTimestampsCache.preinvalidate(java.io.Serializable[] spaces)
           
 void GeneralDataRegion.put(java.lang.Object key, java.lang.Object value)
          Put an item into the cache.
 void Cache.put(java.lang.Object key, java.lang.Object value)
          Deprecated. Add an item to the cache, nontransactionally, with failfast semantics
 void HashtableCache.put(java.lang.Object key, java.lang.Object value)
           
 boolean NonstrictReadWriteCache.put(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, java.util.Comparator versionComparator, boolean minimalPut)
          Add an item to the cache.
 boolean CacheConcurrencyStrategy.put(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, java.util.Comparator versionComparator, boolean minimalPut)
          Deprecated. Attempt to cache an object, after loading from the database.
 boolean ReadWriteCache.put(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, java.util.Comparator versionComparator, boolean minimalPut)
          Do not add an item to the cache unless the current transaction timestamp is later than the timestamp at which the item was invalidated.
 boolean TransactionalCache.put(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, java.util.Comparator versionComparator, boolean minimalPut)
           
 boolean ReadOnlyCache.put(java.lang.Object key, java.lang.Object value, long timestamp, java.lang.Object version, java.util.Comparator versionComparator, boolean minimalPut)
           
 java.lang.Object Cache.read(java.lang.Object key)
          Deprecated. Get an item from the cache
 java.lang.Object HashtableCache.read(java.lang.Object key)
           
 void NonstrictReadWriteCache.release(java.lang.Object key, SoftLock lock)
          Invalidate the item (again, for safety).
 void CacheConcurrencyStrategy.release(java.lang.Object key, SoftLock lock)
          Deprecated. Called when we have finished the attempted update/delete (which may or may not have been successful), after transaction completion.
 void ReadWriteCache.release(java.lang.Object key, SoftLock clientLock)
          Release the soft lock on the item.
 void TransactionalCache.release(java.lang.Object key, SoftLock clientLock)
          Do nothing.
 void NonstrictReadWriteCache.remove(java.lang.Object key)
           
 void Cache.remove(java.lang.Object key)
          Deprecated. Remove an item from the cache
 void CacheConcurrencyStrategy.remove(java.lang.Object key)
          Deprecated. Evict an item from the cache immediately (without regard for transaction isolation).
 void HashtableCache.remove(java.lang.Object key)
           
 void ReadWriteCache.remove(java.lang.Object key)
           
 void TransactionalCache.remove(java.lang.Object key)
           
 void ReadOnlyCache.remove(java.lang.Object key)
           
 void CacheProvider.start(java.util.Properties properties)
          Deprecated. Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
 void HashtableCacheProvider.start(java.util.Properties properties)
          Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
 void NoCacheProvider.start(java.util.Properties properties)
          Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
 void AbstractJndiBoundCacheProvider.start(java.util.Properties properties)
          Callback to perform any necessary initialization of the underlying cache implementation during SessionFactory construction.
 void RegionFactory.start(Settings settings, java.util.Properties properties)
          Lifecycle callback to perform any necessary initialization of the underlying cache implementation(s).
 void Cache.unlock(java.lang.Object key)
          Deprecated. If this is a clustered cache, unlock the item
 void HashtableCache.unlock(java.lang.Object key)
           
 void Cache.update(java.lang.Object key, java.lang.Object value)
          Deprecated. Add an item to the cache
 void HashtableCache.update(java.lang.Object key, java.lang.Object value)
           
 boolean CacheConcurrencyStrategy.update(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
          Deprecated. Called after an item has been updated (before the transaction completes), instead of calling evict().
 boolean TransactionalCache.update(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
           
 

Uses of CacheException in org.hibernate.cache.access
 

Methods in org.hibernate.cache.access that throw CacheException
 boolean EntityRegionAccessStrategy.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Called after an item has been inserted (after the transaction completes), instead of calling release().
 boolean EntityRegionAccessStrategy.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
          Called after an item has been updated (after the transaction completes), instead of calling release().
 void CollectionRegionAccessStrategy.evict(java.lang.Object key)
          Forcibly evict an item from the cache immediately without regard for transaction isolation.
 void EntityRegionAccessStrategy.evict(java.lang.Object key)
          Forcibly evict an item from the cache immediately without regard for transaction isolation.
 void CollectionRegionAccessStrategy.evictAll()
          Forcibly evict all items from the cache immediately without regard for transaction isolation.
 void EntityRegionAccessStrategy.evictAll()
          Forcibly evict all items from the cache immediately without regard for transaction isolation.
 java.lang.Object CollectionRegionAccessStrategy.get(java.lang.Object key, long txTimestamp)
          Attempt to retrieve an object from the cache.
 java.lang.Object EntityRegionAccessStrategy.get(java.lang.Object key, long txTimestamp)
          Attempt to retrieve an object from the cache.
 boolean EntityRegionAccessStrategy.insert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
          Called after an item has been inserted (before the transaction completes), instead of calling evict().
 SoftLock CollectionRegionAccessStrategy.lockItem(java.lang.Object key, java.lang.Object version)
          We are going to attempt to update/delete the keyed object.
 SoftLock EntityRegionAccessStrategy.lockItem(java.lang.Object key, java.lang.Object version)
          We are going to attempt to update/delete the keyed object.
 SoftLock CollectionRegionAccessStrategy.lockRegion()
          Lock the entire region
 SoftLock EntityRegionAccessStrategy.lockRegion()
          Lock the entire region
 boolean CollectionRegionAccessStrategy.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version)
          Attempt to cache an object, after loading from the database.
 boolean EntityRegionAccessStrategy.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version)
          Attempt to cache an object, after loading from the database.
 boolean CollectionRegionAccessStrategy.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, boolean minimalPutOverride)
          Attempt to cache an object, after loading from the database, explicitly specifying the minimalPut behavior.
 boolean EntityRegionAccessStrategy.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, boolean minimalPutOverride)
          Attempt to cache an object, after loading from the database, explicitly specifying the minimalPut behavior.
 void CollectionRegionAccessStrategy.remove(java.lang.Object key)
          Called after an item has become stale (before the transaction completes).
 void EntityRegionAccessStrategy.remove(java.lang.Object key)
          Called after an item has become stale (before the transaction completes).
 void CollectionRegionAccessStrategy.removeAll()
          Called to evict data from the entire region
 void EntityRegionAccessStrategy.removeAll()
          Called to evict data from the entire region
 void CollectionRegionAccessStrategy.unlockItem(java.lang.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 EntityRegionAccessStrategy.unlockItem(java.lang.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 CollectionRegionAccessStrategy.unlockRegion(SoftLock lock)
          Called after we have finished the attempted invalidation of the entire region
 void EntityRegionAccessStrategy.unlockRegion(SoftLock lock)
          Called after we have finished the attempted invalidation of the entire region
 boolean EntityRegionAccessStrategy.update(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
          Called after an item has been updated (before the transaction completes), instead of calling evict().
 

Uses of CacheException in org.hibernate.cache.impl
 

Methods in org.hibernate.cache.impl that throw CacheException
 CollectionRegion NoCachingRegionFactory.buildCollectionRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
           
 EntityRegion NoCachingRegionFactory.buildEntityRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
           
 QueryResultsRegion NoCachingRegionFactory.buildQueryResultsRegion(java.lang.String regionName, java.util.Properties properties)
           
 TimestampsRegion NoCachingRegionFactory.buildTimestampsRegion(java.lang.String regionName, java.util.Properties properties)
           
 void NoCachingRegionFactory.start(Settings settings, java.util.Properties properties)
           
 

Uses of CacheException in org.hibernate.cache.impl.bridge
 

Methods in org.hibernate.cache.impl.bridge that throw CacheException
 boolean EntityAccessStrategyAdapter.afterInsert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
           
 boolean EntityAccessStrategyAdapter.afterUpdate(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion, SoftLock lock)
           
 EntityRegionAccessStrategy EntityRegionAdapter.buildAccessStrategy(AccessType accessType)
           
 CollectionRegionAccessStrategy CollectionRegionAdapter.buildAccessStrategy(AccessType accessType)
           
 CollectionRegion RegionFactoryCacheProviderBridge.buildCollectionRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
           
 EntityRegion RegionFactoryCacheProviderBridge.buildEntityRegion(java.lang.String regionName, java.util.Properties properties, CacheDataDescription metadata)
           
 QueryResultsRegion RegionFactoryCacheProviderBridge.buildQueryResultsRegion(java.lang.String regionName, java.util.Properties properties)
           
 TimestampsRegion RegionFactoryCacheProviderBridge.buildTimestampsRegion(java.lang.String regionName, java.util.Properties properties)
           
 void BaseRegionAdapter.clear()
           
 void BaseRegionAdapter.destroy()
           
 void EntityAccessStrategyAdapter.evict(java.lang.Object key)
           
 void BaseGeneralDataRegionAdapter.evict(java.lang.Object key)
           
 void CollectionAccessStrategyAdapter.evict(java.lang.Object key)
           
 void EntityAccessStrategyAdapter.evictAll()
           
 void BaseGeneralDataRegionAdapter.evictAll()
           
 void CollectionAccessStrategyAdapter.evictAll()
           
 java.lang.Object BaseGeneralDataRegionAdapter.get(java.lang.Object key)
           
 java.lang.Object EntityAccessStrategyAdapter.get(java.lang.Object key, long txTimestamp)
           
 java.lang.Object CollectionAccessStrategyAdapter.get(java.lang.Object key, long txTimestamp)
           
 boolean EntityAccessStrategyAdapter.insert(java.lang.Object key, java.lang.Object value, java.lang.Object version)
           
 SoftLock EntityAccessStrategyAdapter.lockItem(java.lang.Object key, java.lang.Object version)
           
 SoftLock CollectionAccessStrategyAdapter.lockItem(java.lang.Object key, java.lang.Object version)
           
 SoftLock EntityAccessStrategyAdapter.lockRegion()
           
 SoftLock CollectionAccessStrategyAdapter.lockRegion()
           
 void BaseGeneralDataRegionAdapter.put(java.lang.Object key, java.lang.Object value)
           
 boolean EntityAccessStrategyAdapter.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version)
           
 boolean CollectionAccessStrategyAdapter.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version)
           
 boolean EntityAccessStrategyAdapter.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, boolean minimalPutOverride)
           
 boolean CollectionAccessStrategyAdapter.putFromLoad(java.lang.Object key, java.lang.Object value, long txTimestamp, java.lang.Object version, boolean minimalPutOverride)
           
 void EntityAccessStrategyAdapter.remove(java.lang.Object key)
           
 void CollectionAccessStrategyAdapter.remove(java.lang.Object key)
           
 void EntityAccessStrategyAdapter.removeAll()
           
 void CollectionAccessStrategyAdapter.removeAll()
           
 void RegionFactoryCacheProviderBridge.start(Settings settings, java.util.Properties properties)
           
 void EntityAccessStrategyAdapter.unlockItem(java.lang.Object key, SoftLock lock)
           
 void CollectionAccessStrategyAdapter.unlockItem(java.lang.Object key, SoftLock lock)
           
 void EntityAccessStrategyAdapter.unlockRegion(SoftLock lock)
           
 void CollectionAccessStrategyAdapter.unlockRegion(SoftLock lock)
           
 boolean EntityAccessStrategyAdapter.update(java.lang.Object key, java.lang.Object value, java.lang.Object currentVersion, java.lang.Object previousVersion)
           
 

Uses of CacheException in org.hibernate.persister.collection
 

Constructors in org.hibernate.persister.collection that throw CacheException
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 © 2008 Hibernate.org. All Rights Reserved.