Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HashGenCacheSet<T>

Type parameters

  • T

Hierarchy

  • HashGenCacheSet

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Type parameters

    • T

    Parameters

    • size: number

    Returns HashGenCacheSet<T>

Properties

Readonly buckets

buckets: (undefined | HashGenCacheSetBucket<T>)[]

gen1Hits

gen1Hits: number

gen2Hits

gen2Hits: number

gen3Hits

gen3Hits: number

gen4Hits

gen4Hits: number

misses

misses: number

Accessors

hitRatio

  • get hitRatio(): number
  • Returns number

hits

  • get hits(): number
  • Returns number

Methods

clear

  • clear(): void
  • Returns void

put

  • put(value: T): T
  • Parameters

    • value: T

    Returns T

remove

  • remove(value: T): boolean
  • Parameters

    • value: T

    Returns boolean

Generated using TypeDoc