Download > Manual Download > A PHP cache Memcache Queue class library
PHP cache Memcache Queue class library
Let’s take a look at the usage. The code is as follows:
MQ::setupMq('127.0.0.1','11211');//Connection
MQ::add($key, $value);//Add data to the queue
MQ::add($key, $value);//Add data to the queue
MQ::add($key, $value);//Add data to the queue
MQ::add($key, $value);//Add data to the queue
MQ::add($key, $value);//Add data to the queue
MQ::add($key, $value);//Add data to the queue
MQ:get($key, 10);//Retrieve a certain amount of data
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn