Skip to main content

LoadingCache

Classes

Record
LoadingCache

Asynchronous cache capable of resolving its own values by keys Modelled on Guava's LoadingCache concept

Constants

DEFAULT_TIME_TO_LIVE : number

In seconds

Functions

record_get_value_weight(record)number

Record

Kind: global class

new Record(value, time)

ParamType
valueR
timenumber

DEFAULT_TIME_TO_LIVE : number

In seconds

Kind: global constant
Read only: true

record_get_value_weight(record) ⇒ number

Kind: global function

ParamType
recordRecord.<T>