redis-cache.zip

时间:2023-01-16 05:57:43
【文件属性】:
文件名称:redis-cache.zip
文件大小:30KB
文件格式:ZIP
更新时间:2023-01-16 05:57:43
Redis分布式锁 Redis缓存服务 Redis数据源 Redis客户端操作 Redis连接池 一份基于Springboot搭建的Redis分布式缓存服务(包括分布式锁实现)的demo。 if (!CollectionUtils.isEmpty(nodes)) { nodes.forEach(dataSourceBean -> { // 创建Redis分片 JedisShardInfo shardInfo = new JedisShardInfo(dataSourceBean.getHost(), dataSourceBean.getPort(), dataSourceBean.getTimeout(), dataSourceBean.getName()); shardInfo.setPassword(dataSourceBean.getPassword()); shardInfos.add(shardInfo); }); }
【文件预览】:
redis-cache
----pom.xml(2KB)
----redis-cache.iml(81B)
----src()
--------test()
--------main()
----redis-cache()
--------logs()
----.idea()
--------uiDesigner.xml(9KB)
--------workspace.xml(8KB)
--------encodings.xml(191B)
--------misc.xml(542B)
--------inspectionProfiles()
--------compiler.xml(719B)

网友评论