Update README.md

pull/2637/head
Nikita Koksharov 5 years ago committed by GitHub
parent d0ee1b7b8c
commit b7bfcf87c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -29,14 +29,14 @@ Maven
<dependency> <dependency>
<groupId>org.redisson</groupId> <groupId>org.redisson</groupId>
<artifactId>redisson-mybatis</artifactId> <artifactId>redisson-mybatis</artifactId>
<version>3.12.2</version> <version>3.12.3</version>
</dependency> </dependency>
``` ```
Gradle Gradle
```groovy ```groovy
compile 'org.redisson:redisson-mybatis:3.12.2' compile 'org.redisson:redisson-mybatis:3.12.3'
``` ```
### 2. Specify MyBatis cache settings ### 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 `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. `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. `localCacheSize` - local cache size. If size is `0` then local cache is unbounded.

Loading…
Cancel
Save