lock-spring-boot-starter 1.1.0 版本发布

栏目: 软件资讯 · 发布时间: 4年前

内容简介:lock-spring-boot-starter 是一个基于 Spring Boot 的 starter 机制编写的分布式锁工具。 与其他分布式锁不同的是,使用起来更方便快捷,只需要通过注解 @Lock 的方式即可实现对方法进行加锁。 支持 6 种锁类型:可...

lock-spring-boot-starter 是一个基于 Spring Boot 的 starter 机制编写的分布式锁工具。 与其他分布式锁不同的是,使用起来更方便快捷,只需要通过注解 @Lock 的方式即可实现对方法进行加锁。

支持 6 种锁类型:可重入锁、公平锁、联锁、红锁、读锁、写锁

支持 5 种 Redis 模式:single、cluster、replicated、sentinel、master-slave

官网地址:https://tooleek.gitee.io/lock-spring-boot-starter/

码云地址:https://gitee.com/tooleek/lock-spring-boot-starter

DEMO 地址:https://gitee.com/tooleek/lock-spring-boot-starter-demo

更新内容:

1.提交 maven 中央仓库,可以直接使用 maven 拉取 jar 包
2.修改 key 的加锁方式,key 中增加类名和方法名标识,防止多个地方使用同一个锁
3.增加 localLockService 的主动释放

 


以上所述就是小编给大家介绍的《lock-spring-boot-starter 1.1.0 版本发布》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Introduction to Graph Theory

Introduction to Graph Theory

Douglas B. West / Prentice Hall / 2000-9-1 / USD 140.00

For undergraduate or graduate courses in Graph Theory in departments of mathematics or computer science. This text offers a comprehensive and coherent introduction to the fundamental topics of graph ......一起来看看 《Introduction to Graph Theory》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

在线进制转换器
在线进制转换器

各进制数互转换器

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具