位置: 编程技术 - 正文

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类

  • 车辆购置税退税计算
  • 城镇土地使用税的计税依据
  • 注册资本没有全额怎么办
  • 如何做好存货管理,从哪方面去做
  • 印花税购销合同减半征收政策
  • 销售折让开具红字
  • 自然人城建税减半征收
  • 工会筹备金免征政策
  • 划拨土地划转是什么意思
  • 房产税没交会怎么样
  • 工会经费的所得税怎么算
  • 出口样品账务处理
  • 财政局专利补助政策
  • 原材料呆滞物料处理方法
  • 快递售后是干嘛的
  • 没有股权取得的分红如何交税?
  • 维修变压器的维修方法
  • 工会发票开了专票怎么办
  • 装修公司一般纳税人纳税标准
  • 最新增值税申报实操
  • 递延年金现值计算公式解释
  • 企业的其他业务收入
  • 跟银行借款按月还款
  • 企业固定资产清单表格
  • 注册资金印花税怎么算
  • 申请开立临时存档的条件
  • win7系统内存不足怎么解决
  • 冲减管理费用的情况
  • w7防火怎么开
  • 最值钱的苹果
  • 什么情况需要缴纳增值税
  • vscode简单入门
  • php十进制转二进制算法
  • 怎么调试vue项目
  • pilot coat
  • php实用教程
  • 城投公司政府购买棚改
  • 驱动开发做得长久吗
  • 长期挂账的其他应付款税务风险
  • 非货币性资产交换和债务重组的区别
  • 财务报表的组成主要包括
  • 企业所得税会计利润总额计算公式
  • 购买防暑物资应放到哪个科目
  • 期末增值税结转后未交增值税有余额,对吗
  • 公交公司如何做好精细化管理
  • 营改增试点纳税人提供技术转让
  • 管理费用冲减其他费用
  • 公允价值变动损益和投资收益区别
  • 公司银行开户费用怎么报销
  • 进项转出的原因是什么
  • 餐饮业可以开具免税发票吗
  • 挂其他应付款的帐怎么冲平
  • 企业建帐的基本要求
  • mysql的innodb和myisam
  • sql server233错误
  • mysql里的数据库在哪个位置
  • mac怎么用win系统
  • 谁编写了元素周期表
  • win7历史记录在哪里
  • win8.1 升级
  • XP系统怎么设置屏幕常亮
  • ubuntu安装sz
  • Ubuntu软件源更新
  • linux安装有哪几种方式
  • Linux桌面环境安装
  • win7无线无法连接怎么办
  • 可用分区az
  • 地形图高程点坐标高程提取
  • js编程代码
  • windows运行bat文件命令
  • jquery全选和全不选效果
  • windows、linux
  • easyui footer
  • 探探左划还是右划
  • javascript data
  • jquery操作select元素和option的实例代码
  • Javascript & DHTML 实例编程(教程)基础知识
  • python socket用法
  • 每月公积金900元交多少
  • 在网上如何查询车辆违章
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设