update : 2015.11.03
php.shukuma.com검색:
|
Memcached::cas(PECL memcached >= 0.1.0) Memcached::cas — Compare and swap an item 설명
Memcached::cas() performs a "check and set" operation,
so that the item will be stored only if no other client has updated it
since it was last fetched by this client. The check is done via the
인수
반환값
성공 시 예제
Example #1 Memcached::cas() example
<?php |