/DistributedToolsWithRedis

Distributed Tools With Redis

Primary LanguageJavaMIT LicenseMIT

  • 已实现功能
    • 基于 redis 实现分布式锁
    • 可重入(通过 JUC ReentrantLock 实现)
    • try-with-resources(实现 AutoCloseable 接口)
    • 分布式锁方法注解
    • 同步变量(可锁变量)功能
    • BloomFilter 功能
  • todo list
    • 通过redis订阅机制实现可中断锁
    • 公平锁,读写锁等等 JUC 并发工具(Semaphore, CountDownLatch, CyclicBarrier)