固定大小的redis队列、分布式锁
github.com/Mitirrli/redis-tools
Homepage
Source
Issues
Installs: 707
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Requires
Requires (Dev)
None
Suggests
Provides
Conflicts
Replaces
MIT 3efb50f57237260f47d5a6d29e8748fcf7bf1704
redistools
This package is auto-updated.
Last update: 2024-11-07 16:57:20 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();