SimpleCache

Description

sealed class Tinman.Core.Caching.SimpleCache

Derived from

ICacheBase<int64>

A cache that uses a simple LRU (least-recently-used) replacement scheme.

Public / Constructors

Simple​Cache


public constructor SimpleCache → (2)

capacity in : int32

[>0]
The cache capacity.

invalidId in : int64

The page ID value that represents an invalid page ID. Unused cached slots will be set to this value.

Creates a new instance of SimpleCache.