<< Back to previous view

[CCACHE-19] Create 3-arg version of lookup Created: 04/Jan/12  Updated: 05/Jan/12  Resolved: 05/Jan/12

Status: Resolved
Project: core.cache
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Fogus Assignee: Fogus
Resolution: Completed Votes: 0
Labels: cache, lookup

Approval: Ok


Currently, lookup comes in only the 2-arg flavor (i.e. gimme a key and I'll give you a value or nil). The issue with this is that nil is potentially a legal value. Therefore, the 3-arg version logic is the same as the 3-arg `assoc` (.lookup this key not-found).

This change should propagate to all of the existing cache impls.

Comment by Fogus [ 05/Jan/12 7:36 AM ]

Added in f4450a039ef703ce62c61dd497aafed73194f1c2

Generated at Wed Jan 17 22:27:33 CST 2018 using JIRA 4.4#649-r158309.