FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

RedisTemplateWxRedisOps 要的锁是 ReentrantLock ,需要使用分布式锁 · Issue #1592 · binarywang/WxJava · GitHub

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

Description

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

public class RedisTemplateWxRedisOps implements WxRedisOps {

······

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL