Download the PHP package codeages/beanstalk-client without Composer
On this page you can find all versions of the php package codeages/beanstalk-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download codeages/beanstalk-client
More information about codeages/beanstalk-client
Files in codeages/beanstalk-client
Download codeages/beanstalk-client
More information about codeages/beanstalk-client
Files in codeages/beanstalk-client
Vendor codeages
Package beanstalk-client
Short Description 含断线重连机制的Beanstalk PHP客户端。
License MIT
Homepage https://github.com/codeages/beanstalk-client
Package beanstalk-client
Short Description 含断线重连机制的Beanstalk PHP客户端。
License MIT
Homepage https://github.com/codeages/beanstalk-client
Keywords beanstalk
Please rate this library. Is it a good library?
Informations about the package beanstalk-client
README
在davidpersson/beanstalk的基础上, 对原Client类进行了以下改造:
- 初始化时,加入了
socket_timeout
参数,设置socket闲置超时时间,在该单位时间内无操作就会关闭连接,默认为20秒;设置为-1,表示不限制; - 加入了Exception机制,以区分命令执行失败的情况;
- 加入了reconnect方法,当socket异常关闭时,可调用此方法重新打开socket,并自动监听相关tube。
新增:
- ClientProxy类,此类实现了当socket被异常关闭时,会自动重连。
- Help类,对队列的清空提供了辅助函数。
Installation
Usage
代理类的使用:
代理类,比较适合在后台服务进程类的程序中使用。
Changelog
See CHANGELOG.md.
License
MIT.
All versions of beanstalk-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.1
The package codeages/beanstalk-client contains the following files
Loading the files please wait ....