# dglock **Repository Path**: dabing9/dglock ## Basic Information - **Project Name**: dglock - **Description**: 基于redisson的分布式锁 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-23 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dglock #### 介绍 基于redisson的分布式锁 (redis的集群模式) #### 安装使用 1. 下载项目 mvn clean install 2. 在使用锁的项目中引入pom 在项目启动类上添加扫描路径(com.dg.redisson) 需要再配置文件中添加redis的集群配置项 在代码中注入 RedissonDistributedLocker 类即可