dustin/java-memcached-client — pull request #9 by exortech (2012-01-04 23:33:18+00:00)
Title: Issue 136: Decrementing remaining count needs to be threadsafe

This fixes one of the possible reasons for memcache timeouts - especially in situations where the operation state is set to COMPLETE, but the operation still times out. The count integer was being decremented in a non-thread safe manner. The patch switches to use an AtomicInteger instead.