114 Star 568 Fork 210

baomidou / lock4j

Merged
!9 锁范围、锁获取失败处理增强

baomidou:develop baomidou:master

zengzhihong Created on: 2021-04-16 14:55

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • [√] Feature
  • Code style
  • Refactor
  • Doc
  • Other, please describe:

The description of the PR:

  • update: 获取锁失败处理抽出至LockInterceptor
  • feat: @Lock4j 新增name字段 支持全局锁、资源锁、方法锁,通过name字段控制锁范围
  • update: 自定义key前缀移动至Lock4jProperties配置项,默认配置为lock4j
  • update: 获取锁失败处理策略传递了Method和Arguments,方便根据方法参数定义特殊错误提示

Other information:

0 comments, 1 participants 631129 zengzhihong 1610614553

Show action logs Hide action logs
zengzhihong merged Pull Request(Merged by Web) 2021-04-16 16:15
zengzhihong push code 2021-04-16 15:14
Java
1
https://gitee.com/baomidou/lock4j.git
git@gitee.com:baomidou/lock4j.git
baomidou
lock4j
lock4j

Search