org.hibernate.cache.spi (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

## Package org.hibernate.cache.spi

Defines the Hibernate second level caching SPI.

See:
Description

Interface Summary
CacheDataDescription | Describes attributes regarding the type of data to be cached.
CollectionRegion | Defines the contract for a cache region which will specifically be used to store collection data.
EntityRegion | Defines the contract for a cache region which will specifically be used to store entity data.
GeneralDataRegion | Contract for general-purpose cache regions.
NaturalIdRegion | Defines the contract for a cache region which will specifically be used to store naturalId data.
OptimisticCacheSource | Contract for sources of optimistically lockable data sent to the second level cache.
QueryCache | Defines the contract for caches capable of storing query results.
QueryCacheFactory | Defines a factory for query cache instances.
QueryResultsRegion | Defines the contract for a cache region which will specifically be used to store query results.
Region | Defines a contract for accessing a particular named region within the underlying cache implementation.
RegionFactory | Contract for building second level cache regions.
TimestampsRegion | Defines the contract for a cache region which will specifically be used to store entity "update timestamps".
TransactionalDataRegion | Defines contract for regions which hold transactionally-managed data.
TransactionAwareCache | Marker interface for identifying `Cache` implementations which are aware of JTA transactions

Class Summary
CacheKey | Allows multiple entity classes / collection roles to be stored in the same cache region.
FilterKey | Allows cached queries to be keyed by enabled filters.
NaturalIdCacheKey | Defines a key for caching natural identifier resolutions into the second level cache.
QueryKey | A key that identifies a particular query with bound parameter values.
UpdateTimestampsCache | Tracks the timestamps of the most recent updates to particular tables.

## Package org.hibernate.cache.spi Description

Defines the Hibernate second level caching SPI.

The initial contract here is `RegionFactory` whose implementations are responsible for configuring and managing lifecycle operations in regards to the particular underlying caching library. Its other main purpose is to build specializations `Region` instances based on the type of data we will be storing in that given region.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.