|
Memcached::casCompare and swap an item Beschreibung
public bool Memcached::cas
( float
$cas_token
, string $key
, mixed $value
[, int $expiration
] )
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
Parameter-Liste
Rückgabewerte
Gibt bei Erfolg Beispiele
Beispiel #1 Memcached::cas example
<?phpSiehe auch
|