Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BaseMemoryCache<K, V>

内存缓存接口

Type parameters

  • K

  • V

Hierarchy

  • BaseMemoryCache

Implemented by

Index

Properties

Methods

Properties

Readonly size

size: number

当前缓存数量

Methods

add

  • add(key: K, val: V): void

clear

  • clear(): void

delete

  • delete(key: K): void

get

  • get(key: K): V | undefined

has

  • has(key: K): boolean

Generated using TypeDoc