GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — RedisTemplateWxRedisOps 要的锁是 ReentrantLock ,需要使用分布式锁 · Issue #1592 · binarywang/WxJava

RedisTemplateWxRedisOps 要的锁是 ReentrantLock ,需要使用分布式锁 #1592

New issue
Copy link
New issue
Copy link
Closed
Closed
RedisTemplateWxRedisOps 要的锁是 ReentrantLock ,需要使用分布式锁#1592
Copy link
Assignees
lkqm

Description

@silloy
silloy
opened on May 30, 2020
Issue body actions

RedisTemplateWxRedisOps 要的锁是 ReentrantLock ,需要使用分布式锁
具体代码

public class RedisTemplateWxRedisOps implements WxRedisOps {

······

  @Override
  public Lock getLock(String key) {
    return new ReentrantLock();
  }
}

Activity

  1. lkqm commented on May 30, 2020

    @lkqm
    lkqm
    on May 30, 2020
    More actions

    这边后续会实现一个基于RedisTemplate的分布式锁

  2. binarywang
    assigned
    lkqm
    on May 30, 2020
  3. binarywang
    added a commit that references this issue on May 31, 2020

    🎨 #1592 实现简单的redis分布式锁 RedisTemplateSimpleDistributedLock

    2446fa6
  4. binarywang
    closed this as completedon Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lkqm
    lkqm

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.