位置: 编程技术 - 正文

PHP:Memcached::incrementByKey()的用法_Memcached类

编辑:rootadmin
Memcached::incrementByKey

推荐整理分享PHP:Memcached::incrementByKey()的用法_Memcached类,希望有所帮助,仅作参考,欢迎阅读内容。

文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!

(PECL memcached >= 2.0.0)

Memcached::incrementByKey — Increment numeric item&#;s value, stored on a specific server

说明 public int Memcached::incrementByKey ( string $server_key , string $key [, int $offset = 1 [, int $initial_value = 0 [, int $expiry = 0 ]]] )

Memcached::incrementByKey() increments a numeric item&#;s value by the specified offset. If the item&#;s value is not numeric, an error will result. Memcached::incrementByKey() will set the item to the initial_value parameter if the key doesn&#;t exist.

参数

server_key

本键名用于识别储存和读取值的服务器。没有将实际的键名散列到具体的项目,而是在决定与哪一个 memcached 服务器通信时将其散列为服务器键名。这使得关联的项目在单一的服务上被组合起来以提高多重操作的效率。

key PHP:Memcached::incrementByKey()的用法_Memcached类

The key of the item to increment.

offset

The amount by which to increment the item&#;s value.

initial_value

The value to set the item to if it doesn&#;t currently exist.

expiry

The expiry time to set on the item.

返回值

Returns new item&#;s value on success 或者在失败时返回 FALSE.

参见

Memcached::decrement() - 减小数值元素的值 Memcached::decrementByKey() - Decrement numeric item's value, stored on a specific server Memcached::increment() - 增加数值元素的值

PHP:Memcached::getAllKeys()的用法_Memcached类 Memcached::getAllKeys(PECLmemcached=2.0.0)Memcached::getAllKeysGetsthekeysstoredonalltheservers说明publicarrayMemcached::getAllKeys(void)Memcached::getAllKeys()querieseachmemcacheserverandretrievesa

PHP:Memcached::deleteMulti()的用法_Memcached类 Memcached::deleteMulti(PECLmemcached=2.0.0)Memcached::deleteMultiDeletemultipleitems说明publicboolMemcached::deleteMulti(array$keys[,int$time=0])Memcached::deleteMulti()deletesthearrayofkeysfromthes

PHP:Memcached::decrementByKey()的用法_Memcached类 Memcached::decrementByKey(PECLmemcached=2.0.0)Memcached::decrementByKeyDecrementnumericitemsvalue,storedonaspecificserver说明publicintMemcached::decrementByKey(string$server_key,string$key[,int$offs

标签: PHP:Memcached::incrementByKey()的用法_Memcached类

本文链接地址:https://www.jiuchutong.com/biancheng/280093.html 转载请保留说明!

上一篇:PHP:Memcached::isPristine()的用法_Memcached类

下一篇:PHP:Memcached::getAllKeys()的用法_Memcached类

  • 金税盘开票软件密码忘记怎么办
  • 小规模纳税人应交税费的二级科目
  • 手机上税票怎么开
  • 2021年9月个税申报截止时间
  • 增值税专用发票有效期是多长时间
  • 车辆租赁发票税点
  • 小规模增值税的三个附加税计算公式是什么
  • 公司名称变更发票还能认证吗
  • 收回多借差旅费
  • 存货进口关税会计处理怎么做?
  • 调增教育经费如何做账
  • 公司处于亏损状态退股
  • 分摊材料成本差异率怎么算
  • 电子承兑必须对账吗
  • 企业增值税普通发票和增值税专用发票
  • 分公司税务是独立核算还是非独立
  • 高管怎么样
  • 进口有退税吗最新政策
  • 累计折旧余额怎样结转
  • 公司没有车牌可以买车吗
  • 厂房租赁记账凭证
  • 英雄联盟中该如何加好友
  • 新成立企业什么时候有财务报表
  • 股权出售是利空还是利好
  • 农民合作社扶持政策
  • 发票已认证还未开票
  • 土地征收补偿款多久到账
  • 暂估入账收入会计分录
  • 存货报废会计分录例题
  • 新企业办理地税登记流程
  • 外购的福利费要转出吗
  • 建筑业开具发票
  • assoc.exe=exefile什么意思
  • 非货币性资产交换的记忆口诀
  • 出售无形资产的净损失不应计入
  • 马哈拉施特拉邦人口
  • php jsondecode
  • qgc地面站源码
  • uniapp下拉菜单
  • php数组数据结构
  • datetime2(7)
  • thinkphp jquery实现图片上传和预览效果
  • sbc奇思妙想
  • php制作日历代码
  • 预收款怎么做表格
  • 厂房建设包括哪些
  • php安装步骤
  • centos离线安装mondo
  • 将房产以股权形式出售
  • 货物运输代理人
  • 专项附加可以叠加吗
  • 工会经费是按应付职工薪酬贷方计提吗
  • 企业取得财产转让收入
  • 增值税专用发票怎么开
  • 社保滞纳金可以免除吗
  • 转账支票办理收款所要拿的单证
  • 新公司期初余额怎么算
  • 预付账款暂估是什么意思
  • 继续教育专项附加扣除可以扣几年
  • 电子承兑汇票接收不了怎么办
  • 多少钱算固定资产2022
  • 商业资本金
  • 电脑安装win8系统
  • windows Server 2008各版本区别详解
  • system idle process 连接了外网
  • cmd命令怎么运行
  • win7如何关闭ie浏览器
  • windows8.1升级到windows10
  • linux计划任务执行脚本
  • win7系统怎么隐藏桌面
  • 铁嘴王指什么动物
  • putty自动登录脚本
  • 批处理程序删除文件夹中临时文件
  • 用python写爬虫
  • jquery可以实现哪些效果
  • js移动端拖拽
  • python class
  • android 打包
  • 福建省电子税务局官网登录入口
  • 湖南自然人电子税务局官网
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

    网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

    友情链接: 武汉网站建设