Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected cache

cache: NodeCache

Methods

close

  • close(): Promise<boolean>

delete

  • delete(keys: string | string[]): Promise<number>

expire

  • expire(key: string, ttl: number): Promise<boolean>

get

  • get(key: string): Promise<any>

has

  • has(key: string): Promise<boolean>

keys

  • keys(): Promise<string[]>

set

  • set(key: string, value: any, ttl?: number): Promise<boolean>

ttl

  • ttl(key: string): Promise<number>

Generated using TypeDoc