org.hibernate.cache |
This package defines APIs and implementations for the
second-level cache and query cache.
Cache abstracts the underlying cache implementation.
CacheConcurrencyStrategy abstracts various strategies
for maintaining consistency between the cache and database.
QueryCache abstracts the query result set cache.
|
Java Source File Name | Type | Comment |
AbstractJndiBoundCacheProvider.java | Class | Support for CacheProvider implementations which are backed by caches bound
into JNDI namespace. |
Cache.java | Interface | Implementors define a caching algorithm. |
CacheConcurrencyStrategy.java | Interface | Implementors manage transactional access to cached data. |
CacheException.java | Class | |
CacheFactory.java | Class | |
CacheKey.java | Class | Allows multiple entity classes / collection roles to be
stored in the same cache region. |
CacheProvider.java | Interface | Support for pluggable caches. |
EhCache.java | Class | EHCache plugin for Hibernate
EHCache uses a
net.sf.ehcache.store.MemoryStore and a
net.sf.ehcache.store.DiskStore .
The
net.sf.ehcache.store.DiskStore requires that both keys and values be
java.io.Serializable .
However the MemoryStore does not and in ehcache-1.2 nonSerializable Objects are permitted. |
EhCacheProvider.java | Class | Cache Provider plugin for ehcache-1.2. |
FilterKey.java | Class | Allows cached queries to be keyed by enabled filters. |
HashtableCache.java | Class | |
HashtableCacheProvider.java | Class | A simple in-memory Hashtable-based cache impl. |
JndiBoundTreeCacheProvider.java | Class | Support for JBossCache (TreeCache), where the cache instance is available
via JNDI lookup. |
NoCacheProvider.java | Class | Implementation of NoCacheProvider. |
NoCachingEnabledException.java | Class | Implementation of NoCachingEnabledException. |
NonstrictReadWriteCache.java | Class | Caches data that is sometimes updated without ever locking the cache.
If concurrent access to an item is possible, this concurrency strategy
makes no guarantee that the item returned from the cache is the latest
version available in the database. |
OptimisticCache.java | Interface | A contract for transactional cache implementations which support
optimistic locking of items within the cache.
The optimisitic locking capabilities are only utilized for
the entity cache regions.
Unlike the methods on the
Cache interface, all the methods
here will only ever be called from access scenarios where versioned
data is actually a possiblity (i.e., entity data). |
OptimisticCacheSource.java | Interface | Contract for sources of optimistically lockable data sent to the second level
cache. |
OptimisticTreeCache.java | Class | Represents a particular region within the given JBossCache TreeCache
utilizing TreeCache's optimistic locking capabilities. |
OptimisticTreeCacheProvider.java | Class | Support for a standalone JBossCache TreeCache instance utilizing TreeCache's
optimistic locking capabilities. |
OSCache.java | Class | |
OSCacheProvider.java | Class | Support for OpenSymphony OSCache. |
QueryCache.java | Interface | Defines the contract for caches capable of storing query results. |
QueryCacheFactory.java | Interface | Defines a factory for query cache instances. |
QueryKey.java | Class | |
ReadOnlyCache.java | Class | Caches data that is never updated. |
ReadWriteCache.java | Class | Caches data that is sometimes updated while maintaining the semantics of
"read committed" isolation level. |
StandardQueryCache.java | Class | The standard implementation of the Hibernate QueryCache interface. |
StandardQueryCacheFactory.java | Class | Standard Hibernate implementation of the QueryCacheFactory interface. |
SwarmCache.java | Class | |
SwarmCacheProvider.java | Class | Support for SwarmCache replicated cache. |
Timestamper.java | Class | Generates increasing identifiers (in a single VM only).
Not valid across multiple VMs. |
TransactionalCache.java | Class | Support for fully transactional cache implementations like
JBoss TreeCache. |
TreeCache.java | Class | Represents a particular region within the given JBossCache TreeCache. |
TreeCacheProvider.java | Class | Support for a standalone JBossCache (TreeCache) instance. |
UpdateTimestampsCache.java | Class | Tracks the timestamps of the most recent updates to particular tables. |