固定大小的redis队列、分布式锁
github.com/Mitirrli/redis-tools
主页
源代码
问题
安装: 707
依赖: 0
建议者: 0
安全: 0
星星: 3
关注者: 2
分支: 1
开放问题: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 3efb50f57237260f47d5a6d29e8748fcf7bf1704
redistools
This package is auto-updated.
Last update: 2024-09-07 16:34:08 UTC
🌈 基于redis的一些组件
$Lock = new \Mitirrli\Queue\Queue(['key' => 'test', 'lLen' => 10]]); $Lock->toList('a');
$Lock = new \Mitirrli\Lock\Lock(['key' => 'test']); //业务逻辑占用锁 $Lock->lock(); //解锁 $Lock->unlock();