Package com.axelor.cache.redisson
Class AxelorRedissonRegionFactory
java.lang.Object
org.hibernate.cache.spi.AbstractRegionFactory
org.hibernate.cache.spi.support.RegionFactoryTemplate
org.redisson.hibernate.RedissonRegionFactory
com.axelor.cache.redisson.AxelorRedissonRegionFactory
- All Implemented Interfaces:
Serializable
,RegionFactory
,Service
,Stoppable
public class AxelorRedissonRegionFactory
extends org.redisson.hibernate.RedissonRegionFactory
Hibernate Cache region factory based on Redisson with ability to reuse Redisson client from
configuration
- See Also:
-
Field Summary
Fields inherited from class org.redisson.hibernate.RedissonRegionFactory
COLLECTION_DEF, CONFIG_PREFIX, ENTITY_DEF, fallback, FALLBACK, MAX_ENTRIES_SUFFIX, MAX_IDLE_SUFFIX, NATURAL_ID_DEF, QUERY_DEF, REDISSON_CONFIG_PATH, TIMESTAMPS_DEF, TTL_SUFFIX
Fields inherited from class org.hibernate.cache.spi.AbstractRegionFactory
LEGACY_QUERY_RESULTS_REGION_UNQUALIFIED_NAMES, LEGACY_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAMES
Fields inherited from interface org.hibernate.cache.spi.RegionFactory
DEFAULT_QUERY_RESULTS_REGION_UNQUALIFIED_NAME, DEFAULT_UPDATE_TIMESTAMPS_REGION_UNQUALIFIED_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.redisson.api.RedissonClient
createRedissonClient
(StandardServiceRegistry registry, Map properties) Methods inherited from class org.redisson.hibernate.RedissonRegionFactory
buildDomainDataRegion, createDomainDataStorageAccess, createQueryResultsRegionStorageAccess, createTimestampsRegionStorageAccess, getCache, getDefaultAccessType, getImplicitCacheKeysFactory, isMinimalPutsEnabledByDefault, nextTimestamp, prepareForUse, releaseFromUse
Methods inherited from class org.hibernate.cache.spi.support.RegionFactoryTemplate
buildQueryResultsRegion, buildTimestampsRegion
Methods inherited from class org.hibernate.cache.spi.AbstractRegionFactory
createTransactionContext, getOptions, getTimeout, isStarted, qualify, start, stop, verifiedStartStatus, verifyStarted
-
Constructor Details
-
AxelorRedissonRegionFactory
public AxelorRedissonRegionFactory()
-
-
Method Details
-
createRedissonClient
protected org.redisson.api.RedissonClient createRedissonClient(StandardServiceRegistry registry, Map properties) - Overrides:
createRedissonClient
in classorg.redisson.hibernate.RedissonRegionFactory
-