change put() to putAndEvict() and return a List of the evicted items