Merge branch 'master' of github.com:redisson/redisson

pull/2637/head
Nikita Koksharov
commit d25ad1452f

@ -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

@ -29,14 +29,14 @@ Maven
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson-mybatis</artifactId>
<version>3.12.2</version>
<version>3.12.3</version>
</dependency>
```
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.

Loading…
Cancel
Save