Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • T

Hierarchy

  • Cache

Index

Constructors

  • new Cache<T>(id: string): Cache<T>

Properties

_data: Map<number, readonly T[]> = ...
_idPool: number = 1
enableDebugLogging: false = false

Methods

  • add(item: readonly T[]): number
  • delete(id: number): void
  • get(pid: number, id: number): undefined | T
  • logDebugInfo(): void