objectcache: add WANObjectCache::getMultiWithSetCallback()
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 13 Sep 2016 07:00:11 +0000 (00:00 -0700)
committerOri.livneh <ori@wikimedia.org>
Wed, 5 Oct 2016 15:50:18 +0000 (15:50 +0000)
commit24200e88d243b160f1ac6b6a8e71a7aab9e35550
tree715c15b296b1461662228c80e419d8849ce9e68e
parent0829be4de20e1be7bbdd36f6fbab9f22b1063f4d
objectcache: add WANObjectCache::getMultiWithSetCallback()

This does what it says on the tin, e.g. a way to fetch
multiple keys at once. Callbacks are still called in a
serial manner when needed.

Change-Id: I8e24a6de7f46499a53ec41636c5a4f106b9b3d09
includes/libs/objectcache/WANObjectCache.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php