`LRUCache` object can have a maximum size set

This will be used as the upper limit on the internal priority queue we
use.