RocksDB缓存实现,并更换默认实现为RocksDB

This commit is contained in:
陈精华
2019-04-22 11:40:13 +08:00
committed by kl
parent 7e8de7c754
commit 68aa5db66b
4 changed files with 179 additions and 2 deletions

View File

@ -21,10 +21,11 @@ spring.http.multipart.max-file-size=100MB
#openoffice home路径
#office.home = C:\\Program Files (x86)\\OpenOffice 4
#缓存实现类型,不配默认为JDK实现可配置为redis实现需要配置spring.redisson.address等参数
#缓存实现类型,不配默认为内嵌RocksDB实现可配置为redis(type = redis)实现需要配置spring.redisson.address等参数和 JDK 内置对象实现type = jdk,
#cache.type = redis
#redis连接
#spring.redisson.address = 192.168.1.204:6379
#spring.redisson.password = xxx
#######################################可在运行时动态配置#######################################
#文本类型,默认如下,可自定义添加