append, prepend, cas
Dustin Sallings
dustin at spy.net
Thu Nov 15 19:02:09 UTC 2007
On Nov 15, 2007, at 10:34 , Brian Aker wrote:
> My thought was use expiration and flags if the item is new (aka the
> action creates an object). Otherwise toss the values (or better yet,
> just make them optional to send).
That's effectively what bin-incr will do (except for the optional
part).
To further the magic of the 0 expiration, a negative expiration
forbids the server from creating a new entry as a side-effect of the
mutation command.
--
Dustin Sallings
More information about the memcached
mailing list