gwhalin/Memcached-Java-Client — Issue #40: Problem with gets and sets
Author: giridharkannan
Created: 2012-02-22 10:12:33+00:00
State: open

This thread is a continuation of issue #6

Mengli as you said, gets will return null in case of non existing value.

I guess the reason for introducing gets and sets is to avoid concurrency problems during add/update, Now if suppose 2 machines wants to add an entry simultaneously without race condition it is not possible as gets will return null.

So present gets and sets address concurrent update problem and not Add.