I needed another strategy for replacement (effectively an most recent timestamp on the object itself). this change facilitates this capability. This change is fully backwards compatible and just adds an option for option.replacementStrategy - which must provide a $$lruHeap property & implement onGet, onPut & onRemove
I needed another strategy for replacement (effectively an most recent timestamp on the object itself). this change facilitates this capability. This change is fully backwards compatible and just adds an option for option.replacementStrategy - which must provide a $$lruHeap property & implement onGet, onPut & onRemove