Package com.axelor.cache.redisson
Class RedissonCacheDefaults
java.lang.Object
com.axelor.cache.redisson.RedissonCacheDefaults
Default Hibernate second-level cache region settings for Redisson region factories.
This mirrors the Caffeine defaults defined in application.conf. Any
hibernate.cache.redisson.* settings defined in the application configuration take precedence.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyHibernateRegionDefaults(String regionFactoryClassName, Properties properties) Applies default cache region settings if the given region factory is Redisson-based.
-
Method Details
-
applyHibernateRegionDefaults
public static void applyHibernateRegionDefaults(String regionFactoryClassName, Properties properties) Applies default cache region settings if the given region factory is Redisson-based.Settings already present in the given properties are left untouched.
- Parameters:
regionFactoryClassName- the configuredhibernate.cache.region.factory_classproperties- the Hibernate properties
-