bricksasp / concurrent
bricksasp concurrent
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bricksasp/base: ~1.0
This package is not auto-updated.
Last update: 2024-11-13 01:46:21 UTC
README
简介
并发队列消息php实现
安装
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist bricksasp/concurrent: "~1.0"
or add
"bricksasp/concurrent": "~1.0"
to the require section of your composer.json.
使用方法
-ArrayServer
- 内存数组存储
- 二分查找
- 归并排序 (默认使用)
- 冒泡排序
- 插入排序
- 选择排序
-队列使用
- 单链表+workman实现的内存队列服务
- ExternalVisits http入队服务
- QueueDataServer 队列服务
- QueueJobServer 队列作业服务
-TreeDataServer
- 二叉树存储
- 重复元素查找