You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The low inter-reference recency set cache is one that, like LRU, uses recency as its basis for behavior. Unlike, LRU however, LIRS uses access recency of other cache elements relative to any other block to determine its eviction policy.
Before reading this page please make sure that you've read and understand the Basic Usage patterns.
General usage
To create a core.cache LIRSCache instance you can do the following:
Most of the trival examples will likely look very similar to the examples found in the LRU page. See the discussion in the next section why you might wish to choose LIRS instead.
Like all of the implementations in core.cache, LRUCache instances operate like regular maps and are immutable. All caveats apply regarding the proper usage patterns.