位置: 编程技术 - 正文

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类

  • 小规模30万免增值税1点怎么申报税款
  • 增值税发票选择确认平台打不开怎么办?
  • 金税盘数据怎么备份
  • 增值税存量和增量留抵退税
  • 二手车需要交哪些额外的钱
  • 购买地瓜
  • 调减加计抵减额会计分录
  • 原材料加工成产品的会计分录
  • 支付广告roi
  • 企业是否可以查员工亲属关系
  • 固定资产不能抵扣进项税额
  • 单位搬迁员工怎么办
  • 快递售后是干嘛的
  • 维修房产用的建材会计分录
  • 那些发票可以报
  • 项目部管理人员及作业人员的
  • 股权转让 分期付款
  • 通过检查人力资源
  • 合作社能否开具专用发票
  • 如何理解纳税人资格
  • 网上申报时纳税人怎么填
  • 购买汽车可以开普通发票吗
  • 宝塔linux面板怎么安装
  • win11怎么调整任务栏位置
  • 只有发票没有银行客户专用回单是啥意思
  • 软件远程调用失败是什么意思
  • 苹果手机密码忘记了怎么重置密码
  • 12315投诉饿了吗有用吗
  • 电冰箱一天用多少电费正常
  • 纳税人购进农产品取得
  • cpqinet.exe是什么进程 安全吗 cpqinet进程安全性评估
  • 辉柏嘉彩铅一共多少色
  • 上年度成本费用包括哪些
  • 上飞机可以带2个充电宝吗
  • php多任务
  • vue修改表格数据
  • phpadmin默认密码
  • 股东以固定资产入股会计处理
  • 网上打印企业征信流程
  • php pdo sqlserver
  • 免交的增值税要交所得税吗
  • 资产负债表中的应收账款应根据什么填列
  • yolo算法python代码
  • 微信支付开发文档教程
  • 新星计划会限流吗
  • 万字长文护国安是谁写的
  • php access_token
  • phpcms怎么样
  • 固定资产家具用具包括什么
  • 期初认证相符但未申报抵扣的进项如何消除
  • 没有发票的费用汇算清缴的时候怎么调出来
  • 出纳对现金的收付应该怎么做
  • 会员卡怎样批量生成
  • 免税公司专用发票是什么
  • 应纳税所得额可以是负数吗
  • 企业长期零申报
  • 房租季度付款是几个月
  • 房租收不回来会计分录
  • 赔偿金是营业外收入吗
  • 公司贷款直接打收据吗
  • 一般纳税人劳务税率是多少?
  • 工程类发票账务后面需附什么单据呢
  • 金税盘开完发票可以直接拔掉吗?
  • 明细账模版
  • Windows下System Volume Information文件夹是干嘛用的?
  • tcp window 0
  • 无人值守安装操作系统
  • windows注册表简单应用
  • xp系统做完了进不去
  • win10开始菜单磁贴颜色
  • linux就该这么些
  • jQuery实现select模糊查询(反射机制)
  • bootstrap基础
  • animate javascript
  • 会用python
  • fragment中嵌套fragment
  • Metaio in Unity3d 教学--- 四.再谈谈图片扫描之tracking配置文件
  • php使用js
  • javascript的dom操作
  • 环保税的税率是怎么算的
  • 免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

    鄂ICP备2023003026号

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

    友情链接: 武汉网站建设