Options
All
  • Public
  • Public/Protected
  • All
Menu

Eliminate Store using two map for context storage, to avoid holding too many data it will eliminate the old data

Hierarchy

  • EliminateStore

Index

Properties

Private current

current: Map<number, NodeInfo> = new Map<number, NodeInfo>()

Private lastEliminateTime

lastEliminateTime: number = Date.now()

Private old

old: Map<number, NodeInfo> = new Map<number, NodeInfo>()

Methods

clear

  • clear(): void

delete

  • delete(asyncId: number): void

eliminate

  • eliminate(): void

get

  • get(asyncId: number): undefined | NodeInfo

getLastEliminateTime

  • getLastEliminateTime(): number

oldSize

  • oldSize(): number

set

  • set(asyncId: number, info: NodeInfo): void

size

  • size(): number

Legend

  • Constructor
  • Property
  • Method
  • Private property
  • Private method
  • Property
  • Inherited property

Generated using TypeDoc