redis-object-spring-boot-starter

时间:2021-05-10 14:48:16
【文件属性】:
文件名称:redis-object-spring-boot-starter
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-10 14:48:16
Java redis-object-spring-boot-starter 项目中使用redis序列化的时候,避免手动序列化对象和返回序列化。 引入项目: com.even haixue-spring-boot-starter-redis 2.0.2-SNAPSHOT 在springboot 配置文件中配置: haixue: redis: type: kryo #默认支持两种序列化方式 json或则 kryo whiteListPackage: com.haixue 当配置文件中无此配置项的时候,默认采用spring-data-redis的原生的序列化方式 当配置中加入了该配置项的时候会调用对应的序列化方式进行序列化和反
【文件预览】:
redis-object-spring-boot-starter-master
----src()
--------main()
----README.md(970B)
----pom.xml(2KB)
----.gitignore(223B)

网友评论