Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CacheOptions

Cache options.

Hierarchy

  • CacheOptions

Index

Constructors

Methods

Constructors

constructor

  • Returns CacheOptions

  • Parameters

    Returns CacheOptions

Methods

getMaxSize

  • getMaxSize(): number
  • Set the max number of entries the cache can hold.

    Returns number

setMaxSize

  • Set the max number of entries the cache can hold.

    Parameters

    • maxSize: number

    Returns CacheOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc