用PHP写的基于Memcache的Queue实现代码
php类代码: 复制代码 代码如下: <?php class MQ{ public static $client; private static $m_real; private static $m_front; private static $m_data = array(); const QUEUE_MAX_NUM = 100000000; const QUEUE_FRONT_KEY = ‘_queue_item_front’; const QUEUE_REAL_KEY = ‘_queue_item_real’; public static function setupMq($con
用户评论