Add key expiration and map resizing support to MapCacheLRU
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Jun 2018 09:40:19 +0000 (10:40 +0100)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 28 Jun 2018 05:53:42 +0000 (05:53 +0000)
commit1f2b2f3f8d451da49da4342b68658baf40f213b5
tree01771f1465ab9a573eb769a5ae75adbbca814785
parent5623d4c64319a98ddd8263c597002d173464ccbf
Add key expiration and map resizing support to MapCacheLRU

Also implement Serializable in to add stability to anything that
uses naïve serialization (such as for persistent caching).

Change-Id: I03ba654ffd80ba027d47d5d7583abfe48d52818d
includes/libs/MapCacheLRU.php
tests/phpunit/includes/libs/MapCacheLRUTest.php