| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.cache.DelegatingRegionFactory
public class DelegatingRegionFactory
| Method Summary | |
|---|---|
|  CollectionRegion | buildCollectionRegion(String regionName,
                      Properties properties,
                      CacheDataDescription metadata)Build a cache region specialized for storing collection data. | 
|  EntityRegion | buildEntityRegion(String regionName,
                  Properties properties,
                  CacheDataDescription metadata)Build a cache region specialized for storing entity data. | 
|  QueryResultsRegion | buildQueryResultsRegion(String regionName,
                        Properties properties)Build a cache region specialized for storing query results | 
|  TimestampsRegion | buildTimestampsRegion(String regionName,
                      Properties properties)Build a cache region specialized for storing update-timestamps data. | 
|  AccessType | getDefaultAccessType()Get the default access type for entityandcollectionregions. | 
|  boolean | isMinimalPutsEnabledByDefault()By default should we perform "minimal puts" when using this second level cache implementation? | 
|  long | nextTimestamp()Generate a timestamp. | 
|  void | start(Settings settings,
      Properties properties)Lifecycle callback to perform any necessary initialization of the underlying cache implementation(s). | 
|  void | stop()Lifecycle callback to perform any necessary cleanup of the underlying cache implementation(s). | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public final void start(Settings settings,
                        Properties properties)
                 throws CacheException
RegionFactorySessionFactoryImpl.
start in interface RegionFactorysettings - The settings in effect.properties - The defined cfg properties
CacheException - Indicates problems starting the L2 cache impl;
 considered as a sign to stop SessionFactory
 building.public final void stop()
RegionFactorySessionFactory.close().
stop in interface RegionFactorypublic final boolean isMinimalPutsEnabledByDefault()
RegionFactory
isMinimalPutsEnabledByDefault in interface RegionFactorypublic final AccessType getDefaultAccessType()
RegionFactoryentity and
 collection regions.
getDefaultAccessType in interface RegionFactorypublic final long nextTimestamp()
RegionFactory
nextTimestamp in interface RegionFactory
public final EntityRegion buildEntityRegion(String regionName,
                                            Properties properties,
                                            CacheDataDescription metadata)
                                     throws CacheException
RegionFactory
buildEntityRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.metadata - Information regarding the type of data to be cached
CacheException - Indicates problems building the region.
public final CollectionRegion buildCollectionRegion(String regionName,
                                                    Properties properties,
                                                    CacheDataDescription metadata)
                                             throws CacheException
RegionFactory
buildCollectionRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.metadata - Information regarding the type of data to be cached
CacheException - Indicates problems building the region.
public final QueryResultsRegion buildQueryResultsRegion(String regionName,
                                                        Properties properties)
                                                 throws CacheException
RegionFactory
buildQueryResultsRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.
CacheException - Indicates problems building the region.
public final TimestampsRegion buildTimestampsRegion(String regionName,
                                                    Properties properties)
                                             throws CacheException
RegionFactory
buildTimestampsRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.
CacheException - Indicates problems building the region.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||