Closed GoogleCodeExporter closed 9 years ago
Add will _not_ change the original item in the cache (flags, expiry time, cas
etc). It will however change the objects position of the list of objects to
evict if someone tries to store additional objects when all of the memory is
used. Getting the object would have the same effect, but it would require all
of the data for the object to be transferred back to the client. Personally I
would think that calling a cas with an illegal value would be a better
alternative, because then you would not end up in a situation where add
succeeds and you have a bogus item in you cache.
Original comment by trond.no...@gmail.com
on 4 Mar 2011 at 2:47
Original issue reported on code.google.com by
YoC....@gmail.com
on 4 Mar 2011 at 2:15