Download the PHP package easyswoole/memcache-pool without Composer
On this page you can find all versions of the php package easyswoole/memcache-pool. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download easyswoole/memcache-pool
More information about easyswoole/memcache-pool
Files in easyswoole/memcache-pool
Download easyswoole/memcache-pool
More information about easyswoole/memcache-pool
Files in easyswoole/memcache-pool
Vendor easyswoole
Package memcache-pool
Short Description coroutine memcache pool
License Apache-2.0
Homepage https://www.easyswoole.com/
Package memcache-pool
Short Description coroutine memcache pool
License Apache-2.0
Homepage https://www.easyswoole.com/
Please rate this library. Is it a good library?
Informations about the package memcache-pool
memcache-pool
安装
composer require easyswoole/memcache-pool
注册
EasySwooleEvent.php
的initialize
事件:
池的名字默认为
default
获取池
需要自己回收池内对象.
pool
具体用法请看连接池组件.
建议使用以下方案进行缓存defer、invoke
;
Defer
连接池不存在,将会返回null
.
协程结束后将会自动归还此链接到连接池当中.
Invoke
连接池不存在,将会返回null
.
成功会返回回调函数的结果.
回调函数执行完,会自动归还此链接到连接池当中.
All versions of memcache-pool with dependencies
PHP Build Version
Package Version
Requires
easyswoole/memcache Version
^1.1
easyswoole/component Version ^2.2
easyswoole/pool Version ^1.0
easyswoole/component Version ^2.2
easyswoole/pool Version ^1.0
The package easyswoole/memcache-pool contains the following files
Loading the files please wait ....