public class RedisRegionFactory
extends org.hibernate.cache.spi.support.RegionFactoryTemplate
限定符和类型 | 字段和说明 |
---|---|
private org.hibernate.cache.spi.CacheKeysFactory |
cacheKeysFactory |
protected org.apache.commons.logging.Log |
log |
protected RedisClient |
redisClient
RedisClient instance. |
private static long |
serialVersionUID |
构造器和说明 |
---|
RedisRegionFactory() |
RedisRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory) |
限定符和类型 | 方法和说明 |
---|---|
org.hibernate.cache.spi.DomainDataRegion |
buildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig,
org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext) |
protected boolean |
cacheExists(java.lang.String unqualifiedRegionName,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) |
protected org.hibernate.cache.spi.support.DomainDataStorageAccess |
createDomainDataStorageAccess(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig,
org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext) |
protected org.hibernate.cache.spi.support.StorageAccess |
createQueryResultsRegionStorageAccess(java.lang.String regionName,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) |
protected org.hibernate.cache.spi.support.StorageAccess |
createTimestampsRegionStorageAccess(java.lang.String regionName,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) |
protected java.lang.String |
defaultRegionName(java.lang.String regionName,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory,
java.lang.String defaultRegionName,
java.util.List<java.lang.String> legacyDefaultRegionNames) |
protected org.hibernate.cache.spi.CacheKeysFactory |
getImplicitCacheKeysFactory() |
protected RedisCacheEntity<java.lang.Object,java.lang.Object> |
getOrCreateCache(java.lang.String unqualifiedRegionName,
org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) |
protected boolean |
isStarted() |
protected void |
prepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings,
java.util.Map configValues) |
protected void |
releaseFromUse() |
protected RedisClient |
resolveRedisClient(java.util.Map configValues) |
buildQueryResultsRegion, buildTimestampsRegion
protected final org.apache.commons.logging.Log log
private static final long serialVersionUID
private final org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory
protected volatile RedisClient redisClient
RedisClient
instance.public RedisRegionFactory()
public RedisRegionFactory(org.hibernate.cache.spi.CacheKeysFactory cacheKeysFactory)
protected org.hibernate.cache.spi.CacheKeysFactory getImplicitCacheKeysFactory()
getImplicitCacheKeysFactory
在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
public org.hibernate.cache.spi.DomainDataRegion buildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)
buildDomainDataRegion
在接口中 org.hibernate.cache.spi.RegionFactory
buildDomainDataRegion
在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
protected org.hibernate.cache.spi.support.DomainDataStorageAccess createDomainDataStorageAccess(org.hibernate.cache.cfg.spi.DomainDataRegionConfig regionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext buildingContext)
createDomainDataStorageAccess
在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
protected org.hibernate.cache.spi.support.StorageAccess createQueryResultsRegionStorageAccess(java.lang.String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
createQueryResultsRegionStorageAccess
在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
protected org.hibernate.cache.spi.support.StorageAccess createTimestampsRegionStorageAccess(java.lang.String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
createTimestampsRegionStorageAccess
在类中 org.hibernate.cache.spi.support.RegionFactoryTemplate
protected final java.lang.String defaultRegionName(java.lang.String regionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory, java.lang.String defaultRegionName, java.util.List<java.lang.String> legacyDefaultRegionNames)
protected RedisCacheEntity<java.lang.Object,java.lang.Object> getOrCreateCache(java.lang.String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
protected boolean cacheExists(java.lang.String unqualifiedRegionName, org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)
protected boolean isStarted()
isStarted
在类中 org.hibernate.cache.spi.AbstractRegionFactory
protected void prepareForUse(org.hibernate.boot.spi.SessionFactoryOptions settings, java.util.Map configValues)
prepareForUse
在类中 org.hibernate.cache.spi.AbstractRegionFactory
protected RedisClient resolveRedisClient(java.util.Map configValues) throws java.io.IOException
java.io.IOException
protected void releaseFromUse()
releaseFromUse
在类中 org.hibernate.cache.spi.AbstractRegionFactory