diff --git a/redisson-hibernate/README.md b/redisson-hibernate/README.md index 491057a0b..7007c8cde 100644 --- a/redisson-hibernate/README.md +++ b/redisson-hibernate/README.md @@ -97,7 +97,7 @@ By default each Region Factory creates own Redisson instance. For multiple appli `hibernate.cache.redisson.[REGION_NAME].expiration.max_idle_time` - max idle time per cache entry in Redis. Defined in milliseconds. `0` value means this setting doesn't affect expiration. Default value: 0 -`hibernate.cache.redisson.[REGION_NAME].localcache.cache_provider` - Defines Cache provider used as local cache store. REDISSON and CAFFEINE providers are available. Default value: `REDISSON` +`hibernate.cache.redisson.[REGION_NAME].localcache.cache_provider` - cache provider used as local cache store. `REDISSON` and `CAFFEINE` providers are available. Default value: `REDISSON` `hibernate.cache.redisson.[REGION_NAME].localcache.max_idle_time` - max idle time per entry in local cache. Defined in milliseconds. `0` value means this setting doesn't affect expiration. Default value: 0 diff --git a/redisson-mybatis/README.md b/redisson-mybatis/README.md index 5b7069bb8..469fb6968 100644 --- a/redisson-mybatis/README.md +++ b/redisson-mybatis/README.md @@ -29,14 +29,14 @@ Maven org.redisson redisson-mybatis - 3.12.2 + 3.12.3 ``` Gradle ```groovy - compile 'org.redisson:redisson-mybatis:3.12.2' + compile 'org.redisson:redisson-mybatis:3.12.3' ``` ### 2. Specify MyBatis cache settings @@ -49,6 +49,8 @@ Redisson allows to define follow settings per Cache instance: `maxSize` - defines max size of entries amount stored in Redis +`localCacheProvider` - cache provider used as local cache store. `REDISSON` and `CAFFEINE` providers are available. Default value: `REDISSON` + `localCacheEvictionPolicy` - local cache eviction policy. `LFU`, `LRU`, `SOFT`, `WEAK` and `NONE` eviction policies are available. `localCacheSize` - local cache size. If size is `0` then local cache is unbounded.