位置: 编程技术 - 正文

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类

  • 待抵扣进项税额转入进项税额
  • 资源税的税目有几个
  • 个人出租房屋需要办理什么手续
  • 小企业会计准则2023电子版
  • 房屋租赁发票票样
  • u盘算固态吗
  • 去年开的专票今年可以作废吗
  • 车船税是费用吗
  • 自产自销农产品企业所得税
  • 社保委托代发银行账号是空的
  • 企业进项发票不够销项开的多
  • 二次股权转让的股权原值确认
  • 货车的车辆购置税是多少
  • 以前漏记的成本怎么处理
  • 国有企业无偿划转资产需要交税吗?
  • 公司注销后会计凭证保管年限
  • 企业安全生产费用提取标准 最新
  • 汇算清缴前发票未到
  • 服务类的企业发票税率
  • 印花税购销合同和买卖合同有什么区别
  • 案例分析关于拟建科学馆的请示报告
  • 单位在工资表中如何填写
  • 500万以下固定资产最新政策
  • 股权转让能否低于股价
  • 生产要素和资源的区别和联系
  • 建筑行业没有库存要做暂估成本怎么做?
  • 银行抵押贷款结清后需要解押吗
  • 汇算清缴工资调增,账务要处理吗
  • 房地产增值税结转收入的条件是什么
  • 食堂充值管理制度
  • 促销礼物
  • 发票冲红怎么开具
  • 如何突出显示一行中的最小值
  • 不起眼的暴利小生意农村
  • 股权变更怎么缴纳个人所得税
  • 房地产企业开始退地的影响
  • 稽查查补销售额后补开票如何申报
  • php一个文件搞定两个文件
  • Element UI - v-infinite-scroll无限滚动组件
  • html5简单小游戏代码
  • php读取文件内容
  • 售后租回怎么理解
  • 服务费减免税款怎么算
  • python怎么设置窗口界面
  • 发票丢失如何处理入账
  • 印花税如何记账入账
  • 现金收入的管理的内容包括哪些
  • 如何做固定资产的台账
  • 金蝶利润表出现科目
  • 财务费用 科目
  • 什么叫做有限循环小数
  • 债券投资包含哪些
  • 中小企业所得税优惠
  • 住宿费收入会计分录
  • 期初应收账款对应什么科目试算平衡
  • 以前年度负债调整
  • 收到商业汇票计什么科目
  • 应收账款资产减值准备可以在所得税前扣除吗
  • 客户要赔偿怎么回复
  • 自产自销属于商品吗
  • 预计负债可以获取利润吗
  • 采购商品验收入库的会计分录怎么写
  • 待抵扣税额转入进项税额的分录
  • 收到股东投入材料怎么做账
  • 市政配套费交给哪个部门
  • 年数总和法净残值怎么算
  • 在mysql中使用视图的限制
  • sql2005和2000区别
  • linux 删除文件夹里的所有文件
  • centos查看硬件设备
  • linux系统中怎么编写一个程序
  • python中的变量赋值
  • 右键菜单中添加文字
  • unity设置窗口位置
  • JavaScript html5 canvas绘制时钟效果(二)
  • unity增加组件
  • jquery拖拽插件
  • js实现滑动效果
  • 建筑施工企业一级资质企业,安全生产管理
  • 航天信息的金税盘开票要怎么调格式
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设