Made BagOStuff::cas properly optional
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 18 Feb 2015 23:47:06 +0000 (15:47 -0800)
committerTim Starling <tstarling@wikimedia.org>
Mon, 23 Feb 2015 05:15:24 +0000 (05:15 +0000)
commit250f2b9e5ad67e22274961dd3464589d1559eb08
treeb2edfca7c32ca7b468da1adcb83a6f6570c6cf5a
parentcb4f6e93417771bac3e22731a99304daad827f6b
Made BagOStuff::cas properly optional

* merge() using the locking version by default. The callers that implement cas()
  override merge() to use the cas-based version. Those that do not no longer
  need to define the unused dummy method.
* Removed some redundant doc blocks.

Change-Id: I49f7dd5432efa8d76f4758c273f0859376ddafb7
includes/objectcache/APCBagOStuff.php
includes/objectcache/BagOStuff.php
includes/objectcache/EmptyBagOStuff.php
includes/objectcache/HashBagOStuff.php
includes/objectcache/MemcachedBagOStuff.php
includes/objectcache/MultiWriteBagOStuff.php
includes/objectcache/RedisBagOStuff.php
includes/objectcache/SqlBagOStuff.php
includes/objectcache/WinCacheBagOStuff.php
includes/objectcache/XCacheBagOStuff.php