public class SharedInfinispanRegionFactory extends InfinispanRegionFactory
CACHE_CONTAINER, CACHE_PRIVATE, DEFAULT_CACHE_CONTAINER
COLLECTION_CACHE_RESOURCE_PROP, DEF_ENTITY_RESOURCE, DEF_IMMUTABLE_ENTITY_RESOURCE, DEF_INFINISPAN_CONFIG_RESOURCE, DEF_QUERY_RESOURCE, DEF_TIMESTAMPS_RESOURCE, DEF_USE_SYNCHRONIZATION, DEFAULT_PENDING_PUTS_CACHE_CONFIGURATION, ENTITY_CACHE_RESOURCE_PROP, IMMUTABLE_ENTITY_CACHE_RESOURCE_PROP, INFINISPAN_CONFIG_RESOURCE_PROP, INFINISPAN_GLOBAL_STATISTICS_PROP, INFINISPAN_USE_SYNCHRONIZATION_PROP, NATURAL_ID_CACHE_RESOURCE_PROP, PENDING_PUTS_CACHE_NAME, QUERY_CACHE_RESOURCE_PROP, TIMESTAMPS_CACHE_RESOURCE_PROP
Constructor and Description |
---|
SharedInfinispanRegionFactory() |
SharedInfinispanRegionFactory(Properties props) |
Modifier and Type | Method and Description |
---|---|
protected org.infinispan.manager.EmbeddedCacheManager |
createCacheManager(Properties properties,
org.hibernate.service.ServiceRegistry serviceRegistry) |
protected org.infinispan.AdvancedCache |
createCacheWrapper(org.infinispan.AdvancedCache cache) |
protected void |
stopCacheManager()
Do not attempt to stop our cache manager because it wasn't created by this region factory.
|
buildCollectionRegion, buildEntityRegion, buildNaturalIdRegion, buildQueryResultsRegion, buildTimestampsRegion, createCacheManager, createTimestampsRegion, createTransactionManagerLookup, getCache, getCacheManager, getDefaultAccessType, getDefinedConfigurations, getPendingPutsCacheConfiguration, getTypeOverrides, isMinimalPutsEnabledByDefault, nextTimestamp, setCacheManager, start, stop, stopCacheRegions
public SharedInfinispanRegionFactory()
public SharedInfinispanRegionFactory(Properties props)
protected org.infinispan.manager.EmbeddedCacheManager createCacheManager(Properties properties, org.hibernate.service.ServiceRegistry serviceRegistry)
createCacheManager
in class InfinispanRegionFactory
protected void stopCacheManager()
stopCacheManager
in class InfinispanRegionFactory
protected org.infinispan.AdvancedCache createCacheWrapper(org.infinispan.AdvancedCache cache)
createCacheWrapper
in class InfinispanRegionFactory
Copyright © 2016 JBoss by Red Hat. All rights reserved.