Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IntervalGarbageCollectorOptions<Key, Value>

Type parameters

  • Key

  • Value

Hierarchy

  • IntervalGarbageCollectorOptions

Properties

Optional checkInterval

checkInterval: number

Interval for running GC that checks for expired entries.
Defaults to 15 seconds.

iterableBackend

iterableBackend: IterableCacheBackend<Key, Value>

Cache backend instance.

Optional iterateCount

iterateCount: number

How many entries GC needs to check for expiration.
Defaults to 100.