public class NoCachingRegionFactory extends Object implements RegionFactory
| Modifier and Type | Field and Description | 
|---|---|
static NoCachingRegionFactory | 
INSTANCE
Singleton access 
 | 
| Constructor and Description | 
|---|
NoCachingRegionFactory()
Constructs a NoCachingRegionFactory. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
NaturalIdRegion | 
buildNaturalIdRegion(String regionName,
                    Properties properties,
                    CacheDataDescription metadata)
Build a cache region specialized for storing NaturalId to Primary Key mappings. 
 | 
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  
entity and
 collection regions. | 
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). 
 | 
public static final NoCachingRegionFactory INSTANCE
public NoCachingRegionFactory()
INSTANCEpublic void start(Settings settings, Properties properties) throws CacheException
RegionFactorySessionFactoryImpl.start in interface RegionFactorysettings - The settings in effect.properties - The defined cfg propertiesCacheException - Indicates problems starting the L2 cache impl;
 considered as a sign to stop SessionFactory
 building.public void stop()
RegionFactorySessionFactory.close().stop in interface RegionFactorypublic boolean isMinimalPutsEnabledByDefault()
RegionFactoryisMinimalPutsEnabledByDefault in interface RegionFactorypublic AccessType getDefaultAccessType()
RegionFactoryentity and
 collection regions.getDefaultAccessType in interface RegionFactorypublic long nextTimestamp()
RegionFactorynextTimestamp in interface RegionFactorypublic EntityRegion buildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
RegionFactorybuildEntityRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.metadata - Information regarding the type of data to be cachedCacheException - Indicates problems building the region.public NaturalIdRegion buildNaturalIdRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
RegionFactorybuildNaturalIdRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.metadata - Information regarding the type of data to be cachedCacheException - Indicates problems building the region.public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
RegionFactorybuildCollectionRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.metadata - Information regarding the type of data to be cachedCacheException - Indicates problems building the region.public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws CacheException
RegionFactorybuildQueryResultsRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.CacheException - Indicates problems building the region.public TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws CacheException
RegionFactorybuildTimestampsRegion in interface RegionFactoryregionName - The name of the region.properties - Configuration properties.CacheException - Indicates problems building the region.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.