├── .gitignore ├── LICENSE ├── NOTICE ├── README.md ├── images ├── 2023-11-14-001.png ├── 2023-11-14-005.png ├── 2023-11-14-017.png ├── 2023-11-14-020.png ├── 2023-11-14-021.png ├── 2023-11-14-022.png ├── 2023-11-14-023.png ├── 2023-11-14-024.png ├── 2023-11-14-025.png ├── 2023-11-14-026.png ├── bigdata.png ├── concurrent-001.jpg ├── concurrent-002.png ├── concurrent-003.jpg ├── gongzhonghao.png ├── hacker_binghe.jpg ├── ice_video.png ├── ice_wechat.jpg ├── mysql.png ├── transaction.png ├── xingqiu.png └── xingqiu_149.png ├── pom.xml └── src ├── main ├── java │ └── io │ │ └── binghe │ │ └── redis │ │ ├── SpringRedisStarter.java │ │ ├── cache │ │ ├── distribute │ │ │ ├── DistributeCacheService.java │ │ │ ├── conversion │ │ │ │ └── TypeConversion.java │ │ │ ├── data │ │ │ │ └── RedisData.java │ │ │ └── redis │ │ │ │ └── RedisDistributeCacheService.java │ │ └── local │ │ │ ├── LocalCacheService.java │ │ │ └── guava │ │ │ ├── factoty │ │ │ └── LocalGuavaCacheFactory.java │ │ │ └── impl │ │ │ └── GuavaLocalCacheService.java │ │ ├── config │ │ ├── RedisPoolConfig.java │ │ └── RedissonConfig.java │ │ ├── lock │ │ ├── DistributedLock.java │ │ ├── factory │ │ │ └── DistributedLockFactory.java │ │ └── redisson │ │ │ └── RedissonLockFactory.java │ │ ├── semaphore │ │ ├── DistributedSemaphore.java │ │ ├── factory │ │ │ └── DistributedSemaphoreFactory.java │ │ └── redisson │ │ │ └── RedissonSemaphoreFactory.java │ │ └── utils │ │ └── ThreadPoolUtils.java └── resources │ └── application.yml └── test └── java └── io └── binghe └── redis └── test ├── DistributeCacheServiceTest.java └── bean └── User.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/NOTICE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/README.md -------------------------------------------------------------------------------- /images/2023-11-14-001.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-001.png -------------------------------------------------------------------------------- /images/2023-11-14-005.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-005.png -------------------------------------------------------------------------------- /images/2023-11-14-017.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-017.png -------------------------------------------------------------------------------- /images/2023-11-14-020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-020.png -------------------------------------------------------------------------------- /images/2023-11-14-021.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-021.png -------------------------------------------------------------------------------- /images/2023-11-14-022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-022.png -------------------------------------------------------------------------------- /images/2023-11-14-023.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-023.png -------------------------------------------------------------------------------- /images/2023-11-14-024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-024.png -------------------------------------------------------------------------------- /images/2023-11-14-025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-025.png -------------------------------------------------------------------------------- /images/2023-11-14-026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/2023-11-14-026.png -------------------------------------------------------------------------------- /images/bigdata.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/bigdata.png -------------------------------------------------------------------------------- /images/concurrent-001.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/concurrent-001.jpg -------------------------------------------------------------------------------- /images/concurrent-002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/concurrent-002.png -------------------------------------------------------------------------------- /images/concurrent-003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/concurrent-003.jpg -------------------------------------------------------------------------------- /images/gongzhonghao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/gongzhonghao.png -------------------------------------------------------------------------------- /images/hacker_binghe.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/hacker_binghe.jpg -------------------------------------------------------------------------------- /images/ice_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/ice_video.png -------------------------------------------------------------------------------- /images/ice_wechat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/ice_wechat.jpg -------------------------------------------------------------------------------- /images/mysql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/mysql.png -------------------------------------------------------------------------------- /images/transaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/transaction.png -------------------------------------------------------------------------------- /images/xingqiu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/xingqiu.png -------------------------------------------------------------------------------- /images/xingqiu_149.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/images/xingqiu_149.png -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/SpringRedisStarter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/SpringRedisStarter.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/distribute/DistributeCacheService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/distribute/DistributeCacheService.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/distribute/conversion/TypeConversion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/distribute/conversion/TypeConversion.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/distribute/data/RedisData.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/distribute/data/RedisData.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/distribute/redis/RedisDistributeCacheService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/distribute/redis/RedisDistributeCacheService.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/local/LocalCacheService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/local/LocalCacheService.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/local/guava/factoty/LocalGuavaCacheFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/local/guava/factoty/LocalGuavaCacheFactory.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/cache/local/guava/impl/GuavaLocalCacheService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/cache/local/guava/impl/GuavaLocalCacheService.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/config/RedisPoolConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/config/RedisPoolConfig.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/config/RedissonConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/config/RedissonConfig.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/lock/DistributedLock.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/lock/DistributedLock.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/lock/factory/DistributedLockFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/lock/factory/DistributedLockFactory.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/lock/redisson/RedissonLockFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/lock/redisson/RedissonLockFactory.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/semaphore/DistributedSemaphore.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/semaphore/DistributedSemaphore.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/semaphore/factory/DistributedSemaphoreFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/semaphore/factory/DistributedSemaphoreFactory.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/semaphore/redisson/RedissonSemaphoreFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/semaphore/redisson/RedissonSemaphoreFactory.java -------------------------------------------------------------------------------- /src/main/java/io/binghe/redis/utils/ThreadPoolUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/java/io/binghe/redis/utils/ThreadPoolUtils.java -------------------------------------------------------------------------------- /src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/main/resources/application.yml -------------------------------------------------------------------------------- /src/test/java/io/binghe/redis/test/DistributeCacheServiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/test/java/io/binghe/redis/test/DistributeCacheServiceTest.java -------------------------------------------------------------------------------- /src/test/java/io/binghe/redis/test/bean/User.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/binghe001/spring-redis/HEAD/src/test/java/io/binghe/redis/test/bean/User.java --------------------------------------------------------------------------------